Daniel Stenberg
b4e33cfcc7
Removed the long-living compiler warnings on the des_pcbc_encrypt() function
...
calls!
2003-01-27 14:19:22 +00:00
Daniel Stenberg
2b054e5309
Bertrand Demiddelaer found and fixed this memory leak.
2003-01-24 11:13:59 +00:00
Daniel Stenberg
a6c395c156
Duncan Wilcox reported a crash with --interface on FreeBSD when ipv6-enabled
...
and this has been verified to correct the problem.
2003-01-23 05:38:20 +00:00
Daniel Stenberg
dee3163d95
when a chunked error is noticed, store the error number in the error string
...
to enable better error-tracking
2003-01-21 16:03:38 +00:00
Daniel Stenberg
5a83976c99
Markus F.X.J. Oberhumer's patch that reduces memory usage quite a bit by
...
only allocating the scratch memory buffer once it is needed and not always
in the handle.
2003-01-20 12:52:34 +00:00
Daniel Stenberg
b5276a9a69
given passwords in netrc must be respected accordingly
2003-01-20 12:00:46 +00:00
Daniel Stenberg
aa8b7dd336
reverted bad header replacement
2003-01-16 21:10:10 +00:00
Daniel Stenberg
f26a338a54
copyright year update in the source header
2003-01-16 21:08:12 +00:00
Daniel Stenberg
4527995e66
Allow CURLINFO_PRIVATE to be NULL, patch by Markus Oberhumer
2003-01-16 10:59:53 +00:00
Daniel Stenberg
63667dfd96
no TABs in source code
2003-01-15 11:44:33 +00:00
Daniel Stenberg
77c388c928
removed a TAB
2003-01-15 11:43:03 +00:00
Daniel Stenberg
3773d76dfd
Steve Oliphant pointed out that test case 105 did not work anymore and this
...
was due to a missing fix for the password prompting
2003-01-10 16:19:32 +00:00
Daniel Stenberg
9a2de6e6ee
if userpwd is "username:", this now implies a blank password while only
...
"username" will cause libcurl to prompt for password. Bryan Kemp noticed.
test case 136 is added for this
2003-01-09 16:47:09 +00:00
Daniel Stenberg
6f35ed51dc
This fixed yet another connect problem with the multi interface and ipv4
...
stack. Kjetil Jacobsen reported and verified the fix.
2003-01-09 14:52:51 +00:00
Daniel Stenberg
a15133f5cf
removed unused code
2003-01-09 11:50:34 +00:00
Daniel Stenberg
ed22f75241
proper indent
2003-01-09 11:31:49 +00:00
Daniel Stenberg
abb01123cb
share.h is now a used header file
2003-01-09 11:19:51 +00:00
Daniel Stenberg
f152f23a68
Updated more and now looks and and the API possibly works almost like the
...
design document specifies. There is still no code inside that uses this.
2003-01-09 10:21:03 +00:00
Daniel Stenberg
9a239edb52
updated to use the modified share-types
2003-01-08 15:50:52 +00:00
Jean-Philippe Barette-LaPierre
6a7e53a7c7
fixed a very, very rare and very, very little memory leak
2003-01-08 02:27:47 +00:00
Daniel Stenberg
ca134d5522
Philippe Raoult's fix to handle wildcard certificate name checks
2003-01-07 16:33:11 +00:00
Daniel Stenberg
ec24efda74
Simon Liu's HTTP200ALIASES-patch!
2003-01-07 16:15:53 +00:00
Daniel Stenberg
37ae32f688
Only output valid filetime.
...
Return file-error if 550 is returned when trying MDTM
2003-01-07 11:25:44 +00:00
Daniel Stenberg
d0cffdec5d
when sending an error message to the debugfunction, we append a newline so
...
that the output looks better
2003-01-07 11:23:52 +00:00
Daniel Stenberg
e69362df22
Matthew Blain's improvements for debug builds
2003-01-07 09:31:45 +00:00
Daniel Stenberg
2912537533
indent fix
2003-01-06 12:41:33 +00:00
Sterling Hughes
cfb32da198
fix bug (?) :-)
...
previously, if you called curl_easy_perform and then set the global dns
cache, the global cache wouldn't be used. I don't see this really happening
in practice, but this code allows you to do it.
2003-01-06 06:17:15 +00:00
Daniel Stenberg
9b4f92130f
return -1 even if SSL_pending() doesn't return non-zero, as we don't really
...
care how many bytes that is readable NOW. Philippe Raoult reported the
bug in 7.10.3-pre3.
2002-12-29 16:27:31 +00:00
Daniel Stenberg
1698015e3c
Curl_base64_decode() fixed by Matthew B
2002-12-19 16:02:51 +00:00
Daniel Stenberg
39dc14c002
Fixed the usage of SSL_read() to properly return -1 if the EWOULDBLOCK
...
situation occurs, which it previously didn't!
This was reptoed by Evan Jordan in bug report #653022 .
Also, if ERROR_SYSCALL is returned from SSL_write(), include the errno number
in the error string for easier error detection.
2002-12-19 15:45:15 +00:00
Daniel Stenberg
efbe930a69
CURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERROR
2002-12-18 16:51:02 +00:00
Daniel Stenberg
747f87f61e
Removed weird special multi interface condition that caused bug report
...
#651464 .
2002-12-17 10:05:00 +00:00
Daniel Stenberg
e879e26a5b
EAGAIN on older (correct) glibc versions indicate a problem and not the need
...
for a bigger buffer and this is indeed badness for us. Making this work
on both old and new glibc versions require an ugly loop that in its worse
form cause 45 bad loops when using the correct glibc and a non-resolving
host name... :-/
We want a better fix. Badly.
2002-12-16 11:33:44 +00:00
Daniel Stenberg
b528bde470
conn->bits.tcpconnect now keeps track of if this connection is connected
...
or not
2002-12-13 16:15:19 +00:00
Daniel Stenberg
3aea0d3d68
Evan Jordan's fix for a memory leak. Bug report 650989.
2002-12-13 14:08:49 +00:00
Daniel Stenberg
9ae920c1b6
make a little work-around for file:// in _is_connected() and voila, now the
...
multi interface works with file:// URLs fine (previously it crashed). This
won't make it work on Windows though...
2002-12-13 13:47:58 +00:00
Daniel Stenberg
db6ff224f8
The initial HTTP request can now be sent in multiple parts, as part of the
...
regular transfer process. This required some new tweaks, like for example
we need to be able to tell the tranfer loop to not chunky-encode uploads
while we're transferring the rest of the request...
2002-12-10 13:10:00 +00:00
Daniel Stenberg
b3c7cd61f3
send_buffer is no more here
2002-12-10 13:08:22 +00:00
Daniel Stenberg
49f75ee8ce
A normal POST now provides data to the main transfer loop via the usual
...
read callback, and thus won't put a lot of stress on the request sending
code (which currently does an ugly loop).
2002-12-09 16:05:57 +00:00
Daniel Stenberg
4bcc866c52
The fread() callback pointer and associated pointer is now stored in the
...
connectdata struct instead, and is no longer modified within the 'set' struct
as previously (which was a really BAAAD thing).
2002-12-09 15:37:54 +00:00
Daniel Stenberg
f6cdb820af
read and write as much as possible until end of data or EWOULDBLOCK before
...
returning back to the select() loop. Consider this a test so far.
2002-12-05 14:26:30 +00:00
Daniel Stenberg
2ad2a4bd9f
changed proto for Curl_krb_kauth()
2002-12-05 11:26:20 +00:00
Daniel Stenberg
92aea29a30
make WIN32 defined for Borland properly, as told by Alexander J. Oss
2002-12-04 11:06:17 +00:00
Daniel Stenberg
d72aa49126
The waiting for the 226 or 250 line expected to come after a transfer is
...
complete is now only made for 60 seconds and if no data was received during
those 60 seconds, we store a special error message (preparing to make this
a special error code) as this most likely means that the control connection
has died while we were transferring data.
2002-12-04 08:56:55 +00:00
Daniel Stenberg
d0b97f7e1f
Curl_GetFTPResponse() takes a different set of parameters and now return a
...
proper CURLcode. The default timeout for reading one response is now also
possible to change while running.
2002-12-03 10:25:31 +00:00
Daniel Stenberg
199a0311e2
updated to reality
2002-12-03 09:32:57 +00:00
Daniel Stenberg
ff5308a5af
if the PWD reply parser failed, we leaked memory
2002-12-02 07:18:24 +00:00
Daniel Stenberg
d27e4a08f9
more to ignore
2002-12-01 11:21:36 +00:00
Daniel Stenberg
bf678a1ca9
only use Content-Length: header if not transfering data chunked
2002-12-01 11:20:41 +00:00
Daniel Stenberg
e90d528026
let the Curl_FormReader() return 0 when it reaches end of data to that the
...
chunked transfer work
2002-11-29 08:12:20 +00:00