Daniel Stenberg
2c22feced2
fixes from Gisle Vanem to try 'AUTH SSL' before 'AUTH TLS', edited by me
2003-12-02 13:21:53 +00:00
Daniel Stenberg
2cf209d3f7
If HAVE_MSG_NOSIGNAL is set, we use MSG_NOSIGNAL when we call send() and
...
recv() and we no longer attempt to ignore the SIGPIPE signal.
2003-12-02 10:12:44 +00:00
Daniel Stenberg
d1d417664e
Gisle Vanem fixed the check-order for FTPS and FTP.
2003-12-02 06:25:41 +00:00
Daniel Stenberg
cd653f1be9
FTPS now works with active ftp and uploads too.
2003-12-01 10:14:39 +00:00
Daniel Stenberg
012c4ee1fa
James Clancy updated the Borland makefiles
2003-11-27 12:24:22 +00:00
Daniel Stenberg
471c30372b
Markus Moeller's change to check for HAVE_SPNEGO instead of the previous
2003-11-27 09:52:44 +00:00
Daniel Stenberg
1d977b7848
When basic is the only auth wanted (which it is by default), the auth phase
...
is always considered done immediately as Basic needs to extra passes.
This fix corrects bug report #848371 .
2003-11-25 09:05:15 +00:00
Daniel Stenberg
45614d54c6
allow the end-of-headers from a proxy response to CONNECT end with a CRCR
...
as well as a CRLF
2003-11-24 16:17:55 +00:00
Daniel Stenberg
d8cf2d42c0
prevent warning for non-SSL builds
2003-11-24 11:44:04 +00:00
Daniel Stenberg
96d7a95ce4
windows build fix based on a patch by Gisle Vanem
2003-11-24 11:41:26 +00:00
Daniel Stenberg
d5d55a856e
adjusted code to the new socket fields in the sessionhandle struct
2003-11-24 09:04:09 +00:00
Daniel Stenberg
1e98727c55
FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe it
2003-11-24 07:15:37 +00:00
Daniel Stenberg
af9dc9f128
Gaz Iqbal fixed a range string memory leak!
2003-11-24 07:10:02 +00:00
Daniel Stenberg
4874aa6986
fixed wrong comment
2003-11-24 07:08:07 +00:00
Daniel Stenberg
3fed12a203
combine the two identical cases
2003-11-20 14:16:18 +00:00
Daniel Stenberg
f481b3e1dc
bail out properly on a 407 when we can't authenticate basic, bug report
...
#845247
2003-11-20 09:53:42 +00:00
Daniel Stenberg
edce444551
If a partial file has been read or written, force a closure the existing
...
connection to avoid re-use of it, since we cannot know in what state it is.
2003-11-19 14:36:42 +00:00
Daniel Stenberg
7bee4140e8
respect bits.close even if an error already is set, but make sure that the
...
existing error is the one returned back
2003-11-19 14:35:40 +00:00
Daniel Stenberg
a0a5668dbd
do ares_destroy() on the ares handle when we're done in Curl_is_resolved()
2003-11-15 10:29:43 +00:00
Daniel Stenberg
dfe0118033
Mathias Axelsson found a case where we free()d the server certificate twice!
2003-11-15 10:00:20 +00:00
Daniel Stenberg
a701f3dddf
Siddhartha Prakash Jain found a case with a bad resolve that we didn't
...
properly bail out from, when using ares.
2003-11-14 11:56:15 +00:00
Daniel Stenberg
43bb20461f
Peter Sylvester found a flaw in the connect code for ipv6-enabled hosts.
...
I guess it seldomly happens on linux and that's why it wasn't found before.
He used Solaris to notice it.
I took the opportunity to rewrite the Curl_connecthost() slightly to feature
less duplicate code in the two different versions (ipv4/ipv6).
2003-11-13 13:28:40 +00:00
Daniel Stenberg
1e251a64f3
Default Content-Type for formparts has changed to "application/octet-stream".
...
This seems more appropriate, and I believe mozilla and the likes do this.
.html files now get text/html as Content-Type.
Pointed out in bug report #839806 .
2003-11-13 07:43:18 +00:00
Daniel Stenberg
776f0bd95e
don't log failed socket() calls
2003-11-13 07:33:51 +00:00
Daniel Stenberg
ad77f760cf
Added CURLOPT_NETRC_FILE.
2003-11-11 14:30:43 +00:00
Daniel Stenberg
a50d2a45d7
Generate the ca-bundle.h file in the build dir and not in the source dir,
...
which works nicely since the build dir is before the source dir in the
include path.
2003-11-10 09:28:22 +00:00
Daniel Stenberg
17a834bc63
After Sbastien Willemijns' bug report, we now check the separators properly
...
in the 229-reply servers respond on a EPSV command and bail out better if
the reply string is not valid RFC2428-compliant.
2003-11-10 08:12:53 +00:00
Daniel Stenberg
f1445ea228
remove the struct fields for the deprecated passwd prompt callback
2003-11-07 13:26:00 +00:00
Daniel Stenberg
b1aa8eb7ef
the resource file itself
2003-11-07 07:20:15 +00:00
Daniel Stenberg
967cb4d75e
removed the resource lines I shouldn't have added in the firt place
2003-11-07 07:13:56 +00:00
Daniel Stenberg
41be41358e
CURLDEBUG, no underscore
2003-11-06 16:04:19 +00:00
Daniel Stenberg
ecb818805b
Gisle Vanem's libcurl.dll version info patch applied
2003-11-06 15:09:30 +00:00
Daniel Stenberg
bd4c081157
unitialized variable fix, reported by both Marty Kuhrt and benjamin gerard
2003-11-06 07:55:45 +00:00
Daniel Stenberg
927e392b31
Mac OS X framework build files, contributed by Matt Veenstra
2003-11-06 07:42:02 +00:00
Daniel Stenberg
aeb5edbf07
Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't
...
belong in the public header file. They are not in our name space so we
should not set them globally.
2003-11-06 07:21:32 +00:00
Daniel Stenberg
c45f43ce32
Troels Walsted Hansen fixed the MSVC makefiles to build fine on Windows.
2003-11-04 06:59:25 +00:00
Daniel Stenberg
0eb037a849
spellfix in the generated comment by Kevin Roth
2003-11-04 06:52:26 +00:00
Daniel Stenberg
a717afc3a7
gmtime() really can't even return NULL, can it?
2003-10-31 21:43:22 +00:00
Daniel Stenberg
a7aacac5e8
assume that MDTM returns the timestamp as UTC
2003-10-31 21:36:43 +00:00
Daniel Stenberg
693df0fa34
silly me, I was meaning to do this change already as discussed on the libcurl
...
list, we get the time in GMT and not localtime
2003-10-30 09:13:04 +00:00
Daniel Stenberg
fb26b2bd98
curl --head now reports info "headers" on file:// URLs as well
2003-10-30 09:08:16 +00:00
Daniel Stenberg
46accd62d1
when getting headers only, stop pretending the reported time is GMT, as it
...
isn't. In fact, it might be, but we have no idea.
2003-10-30 09:06:24 +00:00
Daniel Stenberg
c964aedf3b
Only compile the ipv6-section for ipv6-enabled libcurls. Should save
...
us some trouble.
2003-10-30 07:13:13 +00:00
Daniel Stenberg
e9c835ad06
David Hull made the file: URL parser also accept the somewhat sloppy file
...
syntax: file:/path. I added test case 203 to verify this.
2003-10-29 09:53:21 +00:00
Daniel Stenberg
25613503cb
Another glibc resolve name fix
2003-10-28 13:06:15 +00:00
Daniel Stenberg
1cdc66d927
overlapping memory chunks with strcpy(), detected by the friendly valgrind
2003-10-28 09:17:15 +00:00
Daniel Stenberg
203f66d0cb
James Bursa's fix to prevent failf() to write outside its buffer boundary
2003-10-27 06:35:47 +00:00
Daniel Stenberg
4cccceb034
snprintf() made a single-byte buffer overflow, as it could write a zero
...
outside its given buffer. Discovered and reported by James Bursa.
2003-10-26 15:37:45 +00:00
Daniel Stenberg
a5e22867c7
Resuming a download of an already downloaded document, that is trying to get
...
a range of a document beyond its size, caused libcurl to "hang" until the
server closed the connection and then it returned error 18.
This is bad. This way, we don't return any error at all, which isn't nice
either, as we need to alert the app somehow that the request range was out
of size.
2003-10-24 21:54:34 +00:00
Daniel Stenberg
fcfc6de918
Based on David Hull's fix in bug report 804599, we now check for solaris
...
and gcc, to set the -mimpure-text link flag for linking the lib better.
2003-10-24 21:26:04 +00:00