The libcurl version is 7.21.7. Libcurl returned SUCCESS in this case. And the READFUNCTION only called once and got correct data.
Thanks, Wenjun -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Stenberg Sent: Monday, January 23, 2012 5:32 PM To: libcurl development Subject: Re: libcurl PUT retry and READFUNCTION On Mon, 23 Jan 2012, Wenjun Chen wrote: > I use libcurl to put a file to a HTTP server. When HTTP server FIN > TCP connection, the curl retried and resend the http header. However, > the data in retry packet has 0 length. Which libcurl version? What did it return? Did the VERBOSE output show any clues? -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
