Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Saqib Ali
I took the nightly snapshot from 3/14/2011. It built successfully. And the crashing has stopped!!! BIG THANKS DAN! - Saqib > On Tue, Mar 15, 2011 at 6:22 PM, Dan Fandrich wrote: > >> On Tue, Mar 15, 2011 at 06:09:25PM -0400, Saqib Ali wrote: >> > I'm using version 7.21.3 on Solaris 10 (32 bit

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Saqib Ali
Great! Because building git is a bit more of a headache than I anticipated. BTW, are you aware that the build for 3/15/2011 seems to fail? libtool: compile: /export/tools/studio11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DCURLDEBUG -DDEBUGB

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Dan Fandrich
On Tue, Mar 15, 2011 at 06:09:25PM -0400, Saqib Ali wrote: > I'm using version 7.21.3 on Solaris 10 (32 bit). > Ok, I'll figure out how to get a cURL from git. Using a daily snapshot is almost as good as getting it directly from git: http://curl.haxx.se/snapshots/ >>> Dan

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Saqib Ali
I'm using version 7.21.3 on Solaris 10 (32 bit). Ok, I'll figure out how to get a cURL from git. Thanks!! - Saqib On Tue, Mar 15, 2011 at 5:40 PM, Daniel Stenberg wrote: > On Tue, 15 Mar 2011, Saqib Ali wrote: > > FYI, I replaced my ssh.c with the file from this location: >> > > Did you eve

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, Saqib Ali wrote: FYI, I replaced my ssh.c with the file from this location: Did you ever tell us what libcurl version you're using? Can you instead switch to do your testing with a curl from git to make sure we're on the same track here? Below is the backtrace obtaine

Re: Linking curllib to other library

2011-03-15 Thread Gisle Vanem
"Krzysztof Fediuk" wrote: mlib project is supposed to be a common part of all apps and because of that i've set this project as a static library. I've added all necessary paths and libcurl_static.lib file to be linked. This project compiles fine. A "-DCURL_STATICLIB" in your CFLAGS then? In

Linking curllib to other library

2011-03-15 Thread Krzysztof Fediuk
Hi all I'm trying to make few apps with curllib as a part of them. I'm using Win32-MSVC build by Frederic Elbin (7.19.3) I've created VS 2010 solution containing 2 projects: mlib mapp mlib project is supposed to be a common part of all apps and because of that i've set this project as a stat

Re: curl_multi_remove_handle() crashes if called before transfers are complete.

2011-03-15 Thread Saqib Ali
Thanks for mentioning my name in the test case Daniel! FYI, I replaced my ssh.c with the file from this location: https://github.com/bagder/curl/blob/60172a0446bbe3f8bf1c7b066a03b7febfc96ceb/lib/ssh.c (I added a few extra infof() calls just to add confidence. you can see them below prefixed with "

Re: make only connect, but not issue GET request

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, Pankaj Takawale wrote: Please stop the top-posting. I'm polling web server using curl. Network trace shows me that - web server breaks the connection on prev hit after sending response. When I try to make next request, curl_easy_perform detects broken connection, re-connec

Re: SFTP Block Size Negotiation

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, Kevin Delaney wrote: Maybe a dumb question but does the SFTP components of CURL support a block size negotiation with the destination server? if not is there a default block size? Block size? What block would that be? SFTP has nothing called "blocks"... -- / daniel.hax

SFTP Block Size Negotiation

2011-03-15 Thread Kevin Delaney
Maybe a dumb question but does the SFTP components of CURL support a block size negotiation with the destination server? if not is there a default block size? Thanks Kevin --- List admin: http://cool.haxx.se/list/listinfo/curl-library

Re: make only connect, but not issue GET request

2011-03-15 Thread Pankaj Takawale
I'm polling web server using curl. Network trace shows me that - web server breaks the connection on prev hit after sending response. When I try to make next request, curl_easy_perform detects broken connection, re-connects and make transfer. Re-connection is expensive over here - around 300ms (TCP

Re: Uploaded unaligned file size

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, michele wrote: I added the following command to the header: _headerList = curl_slist_append(_headerList , "TYPE I"); Both for get and put now work well. That would indicate something strange as libcurl defaults to setting the mode to binary on its own... -- / daniel

Re: Uploaded unaligned file size

2011-03-15 Thread michele
Thank you! The problem now seems to be solved. I added the following command to the header: _headerList = curl_slist_append(_headerList , "TYPE I"); Both for get and put now work well. Thank you. Michele On 03/15/2011 01:01 PM, Ben Noordhuis wrote: On Tue, Mar 15, 2011 at 12:43, michele wro

Re: [GitHub] [smtp + ssl] connect and upgrade asynchronously in multi mode [bagder/curl GH-8]

2011-03-15 Thread Ben Noordhuis
On Mon, Mar 14, 2011 at 23:12, Daniel Stenberg wrote: > On Wed, 16 Feb 2011, GitHub wrote: > >> bnoordhuis wants someone to pull from bnoordhuis:smtp: >> >> View Pull Request: https://github.com/bagder/curl/pull/8 > > Hi Ben, > > I did a larger cleanup among structs and defines that I pushed today

RE: CURLOPT_HTTPPOST documentation wrong?

2011-03-15 Thread Patrick Monnerat
richardcav...@mail.com wrote: > curl_easy_setopt ( curlhandle , CURLOPT_HTTPPOST , formptr ) ; curl_easy_perform ( curlhandle ) ; curl_formfree ( formptr ) ; > Now, the manual entry for CURLOPT_HTTPPOST says that the form data should persist until the handle is released. Is this a mistake? It

Re: Uploaded unaligned file size

2011-03-15 Thread Ben Noordhuis
On Tue, Mar 15, 2011 at 12:43, michele wrote: > Hi to all! > I have the following problem: > I cannot upload a file to an ftp site. > I receive the following error message: > > FtpCurl: * Remembering we are in dir > "/home/michele/raid0/export/_TEMP_DIR/test20.bin.ftptmp" > FtpCurl: * Uploaded una

Uploaded unaligned file size

2011-03-15 Thread michele
Hi to all! I have the following problem: I cannot upload a file to an ftp site. I receive the following error message: FtpCurl: * Remembering we are in dir "/home/michele/raid0/export/_TEMP_DIR/test20.bin.ftptmp" FtpCurl: * Uploaded unaligned file size (0 out of 1 bytes) FtpCurl: < 250

CURLOPT_HTTPPOST documentation wrong?

2011-03-15 Thread richardcavell
Hi. I'm setting up a post like this : curl_easy_setopt ( curlhandle , CURLOPT_HTTPPOST , formptr ) ; curl_easy_perform ( curlhandle ) ; curl_formfree ( formptr ) ; Now, the manual entry for CURLOPT_HTTPPOST says that the form data should persist until the handle is released. Is this a mistake

Re: almost all autobuilds fail ...

2011-03-15 Thread Tor Arntsen
On Tue, Mar 15, 2011 at 09:56, Kamil Dudka wrote: > On Tuesday 15 March 2011 08:23:51 Tor Arntsen wrote: >> It's a bit unfortunate with build problems because it prevents using >> git-bisect to find where runtime problems/bugs happened, or at least >> it makes it tricky (git-bisect still works fab

Re: almost all autobuilds fail ...

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, Tor Arntsen wrote: With the one just pushed (before this thread), 211504ba8, Curl_handler_imaps is missing: /lib/.libs/libcurl.so: undefined reference to `Curl_handler_imaps' when configured with --without-ssl Ack, I did some silly assumptions when I did my little protocol

Re: almost all autobuilds fail ...

2011-03-15 Thread Kamil Dudka
On Tuesday 15 March 2011 08:23:51 Tor Arntsen wrote: > It's a bit unfortunate with build problems because it prevents using > git-bisect to find where runtime problems/bugs happened, or at least > it makes it tricky (git-bisect still works fabulously for finding > build errors of course..) If you

Re: almost all autobuilds fail ...

2011-03-15 Thread Tor Arntsen
On Tue, Mar 15, 2011 at 09:12, Daniel Stenberg wrote: > On Tue, 15 Mar 2011, Guenter wrote: > >> I've just seen and not yet checked for details, but it seens that one of >> your commits from yesterday evening broke almost all autobuilds ... > > Ah, yes sorry. Seems to be me not having fixed the ol

TODO-RELEASE March 15

2011-03-15 Thread Daniel Stenberg
Hiya I've managed to get a bunch of things fixed and removed from the list, but as it was incomplete before and we've got new bug reported since the current list of pending issues is still lengthy. See below. I'll appreciate help with all or any of them. 271 - fix the IPv6-working probing to

Re: almost all autobuilds fail ...

2011-03-15 Thread Daniel Stenberg
On Tue, 15 Mar 2011, Guenter wrote: I've just seen and not yet checked for details, but it seens that one of your commits from yesterday evening broke almost all autobuilds ... Ah, yes sorry. Seems to be me not having fixed the older LDAP code to use the new protocol handler setup. I'll fix.

almost all autobuilds fail ...

2011-03-15 Thread Guenter
Hi Daniel, I've just seen and not yet checked for details, but it seens that one of your commits from yesterday evening broke almost all autobuilds ... Gün. --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquett

Re: Getting the HTTP response code following a 100 Continue

2011-03-15 Thread Daniel Stenberg
On Mon, 14 Mar 2011, Jorge Velázquez wrote: Olivier is correct, this is what I am seeing, also. In order to view the final status code, I had to implement a header function and manually parse out the 2nd response code when the request is completed. Since, per the spec, a final status code is