1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
Commit Graph

1995 Commits

Author SHA1 Message Date
Daniel Stenberg
f34573c8e2 new tests 2001-11-02 23:09:02 +00:00
Daniel Stenberg
4163b86cd2 failf() now only overwrites the error buffer the first time it gets called
for each *_perform(). It makes things a lot easier, as the first one that
detects the error get to write the final error reason...
2001-11-02 22:30:34 +00:00
Daniel Stenberg
5b948512f9 Replaced read() and write() with recv() and send() 2001-11-02 14:23:11 +00:00
Daniel Stenberg
2297a7a70c more accurate 2001-11-02 13:16:29 +00:00
Daniel Stenberg
dc82f9e6df Replaced read() and write() with recv() and send() for socket operations
even under normal unixes.
2001-11-02 13:04:23 +00:00
Daniel Stenberg
e60e7414b9 re-ordered, cleaned up 2001-11-02 12:51:18 +00:00
Daniel Stenberg
c6caa9fd60 Added connect.c. I really need someone to better maintain this makefile... 2001-11-02 08:32:38 +00:00
Daniel Stenberg
c84ad40ccd Jörn added connect.c 2001-11-02 08:32:13 +00:00
Daniel Stenberg
ab7f25ab41 another day another commit 2001-11-01 15:26:43 +00:00
Daniel Stenberg
6d213e207d libcurl can init winsock since 7.8.1 2001-11-01 14:51:02 +00:00
Daniel Stenberg
9b6545c479 ConnectionExists() now returns FALSE immediately if it finds a connection
that is dead, because it can only find one entry anyway and if that is dead
there won't be any other entry that matches
2001-11-01 13:54:32 +00:00
Daniel Stenberg
96fb118251 added comments and function headers 2001-11-01 12:47:22 +00:00
Daniel Stenberg
617d6eb7ce Update the byte counters in the loop so that aborted transfers have the
information as well. Improves debug outputs etc.
2001-11-01 12:18:53 +00:00
Daniel Stenberg
99888388dc Use Curl_tvdiff to compare times 2001-11-01 12:17:51 +00:00
Daniel Stenberg
7d24ce9651 less I, more we 2001-11-01 09:12:35 +00:00
Daniel Stenberg
cbc35b1fb8 minor mods to make solaris plain 'make' to not die on this 2001-11-01 07:27:09 +00:00
Daniel Stenberg
027fc719cc fixed FTPSENDF for ipv6 compiles 2001-10-31 20:59:24 +00:00
Daniel Stenberg
f6b2e9e8a4 a bunch 2001-10-31 20:54:21 +00:00
Daniel Stenberg
c4f1a9f690 Removed the SocketIsDead() stuff for SSL again as it doesn't work. We must
rely on the new go-ahead-and-try mechanism that I just added to Transfer()
2001-10-31 15:14:52 +00:00
Daniel Stenberg
542055074b If Curl_do() fails with CURLE_WRITE_ERROR on a re-used connection, this
new logic can retry the same operation on a new connection!
2001-10-31 15:13:19 +00:00
Daniel Stenberg
7b93348aae Curl_sendf now returns a CURLcode 2001-10-31 15:08:16 +00:00
Daniel Stenberg
eaf475b538 return type cleanup 2001-10-31 15:07:45 +00:00
Daniel Stenberg
4118c68df1 check Curl_ftpsendf return codes 2001-10-31 15:06:38 +00:00
Daniel Stenberg
69d5d88259 Added better checking of return codes when we send data to sockets/connections 2001-10-31 14:57:00 +00:00
Daniel Stenberg
7e6a36ea7b major commit, now we check the return code on every invoke of Curl_ftpsendf
- which now is made using a macro named FTPSENDF. I turned it all caps just
to make it more visible that it is in fact a macro.
2001-10-31 14:56:12 +00:00
Daniel Stenberg
6878c0b88f check return code when issuing the request 2001-10-31 14:48:10 +00:00
Daniel Stenberg
bbdc9f15e7 added typecasts to make the timers calculate with doubles, not longs as they
accidentally did after the Curl_tvdiff() interface change
2001-10-31 14:45:47 +00:00
Daniel Stenberg
ae4f8243a9 added some -c talk, spell checked 2001-10-31 13:42:38 +00:00
Daniel Stenberg
1c83dee948 no need for mumbojumbo 2001-10-31 12:48:18 +00:00
Daniel Stenberg
b66dedc017 added cool.haxx.se as an official mirror site 2001-10-31 10:19:16 +00:00
Daniel Stenberg
b07e2a08f9 nonblock => Curl_nonblock, remade the check for a live SSL connection (again) 2001-10-31 08:44:11 +00:00
Daniel Stenberg
64543e09ec Added -0/--http1.0 2001-10-30 15:39:11 +00:00
Daniel Stenberg
58936efff6 removed the 'in documentation' part, as I've expressed in public before 2001-10-30 15:32:48 +00:00
Daniel Stenberg
dbd32278f8 Added an additional SSL check for a dead socket before we re-use an SSL
connection. The simple socket-check is not enough in these cases.
2001-10-30 15:21:45 +00:00
Daniel Stenberg
6d35984286 prevent strdup()ing NULL -- Paul Harrington's report 2001-10-30 12:08:17 +00:00
Daniel Stenberg
c046dc904c Corrected the -T description 2001-10-30 08:09:57 +00:00
Daniel Stenberg
bc8375a1e8 removed silly old -t usage from here, added some blurb about the "new" -t
that sets telnet options
2001-10-30 08:09:08 +00:00
Daniel Stenberg
83877d5ec6 Kevin Roth updates 2001-10-29 22:17:19 +00:00
Daniel Stenberg
3f248dd163 corrected return code, general cleanup 2001-10-29 13:41:16 +00:00
Daniel Stenberg
c9954d1941 added curl_formadd 2001-10-29 13:28:44 +00:00
Daniel Stenberg
e165332211 minor fix to support multiple files in one formadd() call 2001-10-29 13:21:25 +00:00
Daniel Stenberg
d25310cb6f 29 October fixes 2001-10-29 10:46:20 +00:00
Daniel Stenberg
fbb9d23a25 Kevin Roth's cygwin package fixes 2001-10-29 10:32:39 +00:00
Daniel Stenberg
2d32e8831b Cygwin moved into the win32 drawer 2001-10-29 10:31:52 +00:00
Daniel Stenberg
42a9d96fae fixed conn->name error on connection re-use and enlarged the 'gname' array
to hold 512 bytes (for user+password+hostname)
2001-10-29 10:10:21 +00:00
Daniel Stenberg
3edd9b4dfc SM's waitconnect return code fix! 2001-10-29 07:49:57 +00:00
Daniel Stenberg
1a8cf79ae0 changed the Location: to match one Paul Harrington reports a problem with 2001-10-26 12:36:25 +00:00
Daniel Stenberg
b736bdc8e5 ldap fix, test28 added 2001-10-26 11:34:02 +00:00
Daniel Stenberg
babb985f1a made 'timespent' a double, which makes more accurate calculations for quick
downloads
2001-10-26 11:25:03 +00:00
Daniel Stenberg
b22a5f756c test28 added for "Location: extraspace" test 2001-10-26 11:01:33 +00:00