curl-library
RE: trouble with SSL URL
Date: Wed, 2 Feb 2005 14:01:59 -0800
On Mon, 31 Jan 2005, David Byron wrote:
> ./curl -k
> https://curl-http-ntlm.everdream.net/curltest-no-auth/WeirdBug.xml
I think I found it....I'm still having trouble running the testsuite
(can anyone run the testsuite under cygwin?) so I can't check this for
sure, but it does look fishy. And, with this change, curl no longer
hangs....
How does this work for you all?
-DB
$ cvs diff -u transfer.c
Index: transfer.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/transfer.c,v
retrieving revision 1.265
diff -u -r1.265 transfer.c
--- transfer.c 29 Jan 2005 22:31:06 -0000 1.265
+++ transfer.c 2 Feb 2005 21:57:51 -0000
@@ -285,7 +285,7 @@
read or we get a EWOULDBLOCK */
do {
size_t buffersize = data->set.buffer_size?
- data->set.buffer_size:BUFSIZE -1;
+ data->set.buffer_size:BUFSIZE;
/* receive data from the network! */
int readrc = Curl_read(conn, conn->sockfd, k->buf, buffersize,
&nread);
Received on 2005-02-02