Daniel Stenberg
db03d4bdd0
Ale Vesely fixed CURLOPT_INTERFACE when using a hostname
2006-04-21 13:46:19 +00:00
Daniel Stenberg
0ec96e4279
each socket is used by exactly one easy handle, but of course each easy handle
...
can and will use more than one socket
2006-04-21 13:40:07 +00:00
Gunter Knauf
1e8683d72d
removed -fpack-struct because gcc4 seems to know its obsolete and warns...
2006-04-20 10:26:51 +00:00
Daniel Stenberg
f191b143e9
CURL_VERSION_CONV is returned by curl_version_info if libcurl has been built
...
to allow/support character conversions
2006-04-19 09:03:21 +00:00
Daniel Stenberg
e532b196cc
Robson Braga Araujo provided a patch that makes libcurl less eager to close
...
the control connection when using FTP, for example when you remove an easy
handle from a multi stack.
2006-04-18 23:14:30 +00:00
Daniel Stenberg
38898ba4af
corrected the SSL timeout, as Ates Goral's patch did it and that works (opposed
...
to my previous brain-damaged version)
2006-04-18 22:10:19 +00:00
Daniel Stenberg
48f56d9600
attempt to silence the MIPSPro compiler warning
2006-04-18 10:55:41 +00:00
Daniel Stenberg
17bf5ac2fc
avoid a warning about declaring a variable that shadows an earlier declared
...
one
2006-04-18 10:51:07 +00:00
Daniel Stenberg
343b882d80
there's an curl_easy_unescape too now
2006-04-18 09:23:03 +00:00
Gunter Knauf
19240f08bb
added missing symbol export.
2006-04-17 17:06:10 +00:00
Daniel Stenberg
d774730f83
added splay
2006-04-12 18:12:46 +00:00
Gisle Vanem
c2edf42567
Added splay.c.
2006-04-12 14:01:21 +00:00
Gisle Vanem
08f0e55b4f
Add "multiif.h" for GETSOCK_WRITESOCK() macro.
2006-04-12 13:54:07 +00:00
Daniel Stenberg
0542002d7a
adjusted to the new internal *_getsock() concept for providing info internally
...
about what sockets to wait for what action on
2006-04-11 07:23:30 +00:00
Daniel Stenberg
c1e307f585
added docs and removed proto
2006-04-11 07:22:55 +00:00
Daniel Stenberg
676597e961
Ates Goral found out that if you specified both CURLOPT_CONNECTTIMEOUT and
...
CURLOPT_TIMEOUT, the _longer_ time would wrongly be used for the SSL
connection time-out!
2006-04-10 21:49:55 +00:00
Daniel Stenberg
686d90745b
First curl_multi_socket() commit. Should primarily be considered as an internal
...
code rearrange to fit the future better.
2006-04-10 15:00:53 +00:00
Daniel Stenberg
0598547b58
added README.multi_socket
2006-04-10 14:54:12 +00:00
Daniel Stenberg
67c7745f5d
state of the multi_socket API works
2006-04-10 14:44:23 +00:00
Daniel Stenberg
e6efecd054
avoid duplicate typedefs, as this type is also defined in our public headers
2006-04-10 13:14:14 +00:00
Daniel Stenberg
a21a77d230
CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!
2006-04-09 22:41:22 +00:00
Gisle Vanem
e4a4b562c4
readint_le() not needed in USE_WINDOWS_SSPI code.
2006-04-08 11:04:53 +00:00
Gisle Vanem
35b4a755f9
curl_easy_unescape() takes 4 arguments.
2006-04-08 11:01:40 +00:00
Daniel Stenberg
5a4b43848a
First commit of David McCreedy's EBCDIC and TPF changes.
2006-04-07 21:50:47 +00:00
Daniel Stenberg
4d33cf739d
added typedefed function pointers and typecast the NULL assignments in an
...
attempt to silence picky compilers when assigning data pointers to a function
pointer variable
2006-04-07 11:47:21 +00:00
Daniel Stenberg
34e7daf989
attempt to avoid warnings in picky environments by storing options as
...
unsigned chars
2006-04-07 11:46:16 +00:00
Daniel Stenberg
be285cde3f
Michele Bini modified the NTLM code to work for his "weird IIS case"
...
(http://curl.haxx.se/mail/lib-2006-02/0154.html ) by adding the NTLM hash
function in addition to the LM one and making some other adjustments in the
order the different parts of the data block are sent in the Type-2 reply.
Inspiration for this work was taken from the Firefox NTLM implementation.
I edited the existing 21(!) NTLM test cases to run fine with these news. Due
to the fact that we now properly include the host name in the Type-2 message
the test cases now only compare parts of that chunk.
2006-04-05 12:35:48 +00:00
Daniel Stenberg
bcc62cc9e3
#1451929 ( http://curl.haxx.se/bug/view.cgi?id=1451929 ) detailed a bug that
...
occurred when asking libcurl to follow HTTP redirects and the original URL had
more than one question mark (?). Added test case 276 to verify.
2006-03-28 08:03:25 +00:00
Gunter Knauf
d74725ce67
minor Makefile fix - let's go 2006;
...
avoid kiling hugehelp.c when not built from CVS.
2006-03-27 14:34:19 +00:00
Daniel Stenberg
3dad55d7a8
Tor Arntsen figured out that TFTP was broken on a lot of systems since we
...
called bind() with a too big argument in the 3rd parameter and at least
Tru64, AIX and IRIX seem to be very picky about it.
2006-03-26 08:52:43 +00:00
Daniel Stenberg
598ffeea89
David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path
2006-03-21 22:30:03 +00:00
Daniel Stenberg
83367f67de
Xavier Bouchoux made the SSL connection non-blocking for the multi interface
...
(when using OpenSSL).
2006-03-21 21:54:44 +00:00
Daniel Stenberg
6421d69bff
David McCreedy fixed libcurl to no longer ignore AUTH failures and now it
...
reacts properly according to the CURLOPT_FTP_SSL setting.
2006-03-20 22:51:08 +00:00
Dan Fandrich
a63f9887b9
Fixed a bug whereby a received file whose length was a multiple of
...
512 bytes could have random garbage appended. Also, stop processing TFTP
packets which are too short to be legal.
2006-03-20 22:15:22 +00:00
Daniel Stenberg
5975229919
fixed tftp packet overflow risk
2006-03-20 07:32:50 +00:00
Daniel Stenberg
d494d62953
David McCreedy found a use of the wrong variable when display the error
...
text from OpenSSL.
2006-03-13 23:34:25 +00:00
Daniel Stenberg
7206181385
David McCreedy found a missing return code assignment
2006-03-13 23:33:46 +00:00
Daniel Stenberg
f70f11fc70
Peter Heuchert's correction for the clear control connection case
2006-03-08 15:46:21 +00:00
Daniel Stenberg
cffebd7fd6
Markus Koetter filed debian bug report #355715 which identified a problem
...
with the multi interface and multi-part formposts. The fix from February
22nd could make the Curl_done() function get called twice on the same
connection and it was not designed for that and thus tried to call free() on
an already freed memory area!
2006-03-07 23:11:41 +00:00
Daniel Stenberg
b8c8e7349f
Peter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL
...
is used properly.
2006-03-07 22:28:08 +00:00
Daniel Stenberg
8bba99ae56
Lots of users on Windows have reported getting the "SSL: couldn't set
...
callback" error message so I've now made the setting of that callback not be
as critical as before. The function is only used for additional loggging/
trace anyway so a failure just means slightly less data. It should still be
able to proceed and connect fine to the server.
2006-03-06 22:35:51 +00:00
Daniel Stenberg
b5c5f57613
build fix for Interix
2006-03-04 22:39:31 +00:00
Daniel Stenberg
7d68101f83
Prevent uploading to a URL that has no file name part.
2006-03-03 13:09:30 +00:00
Gisle Vanem
dc4fbd2e97
Small fix.
2006-02-26 18:20:43 +00:00
Gisle Vanem
60b029869f
Use getprotobyname() to retrieve protocol number for TCP
...
(sorry, I don't know how to add this to the configure process).
2006-02-26 17:08:33 +00:00
Dan Fandrich
a39ac3d94a
Added user ID support to SOCKS4.
2006-02-24 21:35:48 +00:00
Daniel Stenberg
4486d336a6
argh, forgot the check for a connection before we call Curl_done
2006-02-23 21:29:48 +00:00
Dan Fandrich
45e4b811b0
Fixed a few more comment typos.
2006-02-23 18:39:22 +00:00
Daniel Stenberg
0e6a1a4420
Peter Su's SOCKS4 fix
2006-02-23 14:42:47 +00:00
Daniel Stenberg
6fdbb01194
Lots of work and analysis by "xbx___" in bug #1431750
...
(http://curl.haxx.se/bug/view.cgi?id=1431750 ) helped me identify and fix two
different but related bugs:
1) Removing an easy handle from a multi handle before the transfer is done
could leave a connection in the connection cache for that handle that is
in a state that isn't suitable for re-use. A subsequent re-use could then
read from a NULL pointer and segfault.
2) When an easy handle was removed from the multi handle, there could be an
outstanding c-ares DNS name resolve request. When the response arrived,
it caused havoc since the connection struct it "belonged" to could've
been freed already.
Now Curl_done() is called when an easy handle is removed from a multi handle
pre-maturely (that is, before the transfer was complteted). Curl_done() also
makes sure to cancel all (if any) outstanding c-ares requests.
2006-02-23 12:20:48 +00:00