a564a54e21hm, don't free the home dir and append the .netrc part properly
Daniel Stenberg
2001-03-14 16:12:47 +00:00
92186dc3d3checks for a few functions and include files more for the new getpwuid() stuff in lib/netrc.c
Daniel Stenberg
2001-03-14 16:05:31 +00:00
7bd6507eecuses getpwuid() to find user's home dir
Daniel Stenberg
2001-03-14 16:05:00 +00:00
d4cc810de3added a missing \
Daniel Stenberg
2001-03-14 14:35:35 +00:00
bea7bbee1balways append the incoming request to the server.input file, it allows the mainscript to verify a whole series of requests
Daniel Stenberg
2001-03-14 14:26:56 +00:00
fe64570d5dupdated to work with the modified http server
Daniel Stenberg
2001-03-14 14:26:16 +00:00
df6ad8d8d6Added test case 38
Daniel Stenberg
2001-03-14 14:25:57 +00:00
f8e1fc32deEdin Kadribaic's bug report #408488 forced a rearrange of two struct fields from urldata to connectdata, quite correctly.
Daniel Stenberg
2001-03-14 14:11:11 +00:00
8c6d56f1f9Added the --egd-file and --random-file options
Daniel Stenberg
2001-03-14 11:47:55 +00:00
70793595feremoved the two unnecessary include files
Daniel Stenberg
2001-03-14 10:27:13 +00:00
28a8e1602dssluse fixed, various win32 fixes
Daniel Stenberg
2001-03-14 10:21:52 +00:00
cce05b9138Bjrn Stenberg corrected the silly '(void)data' usage when SSL is not used
Daniel Stenberg
2001-03-14 10:15:42 +00:00
72a7fd4dc7Jrn's updated file
Daniel Stenberg
2001-03-14 10:06:23 +00:00
9a6a476cf5the URL escape/unescape functions are also public but undocumented
Daniel Stenberg
2001-03-14 08:59:34 +00:00
5d0efedd2dFirst Jrn's updates were applied, then my take at removing the private functions from the list, then I renamed the *str(n)equal functions...
Daniel Stenberg
2001-03-14 08:58:36 +00:00
a426818a78no longer includes the curl/types.h and curl/easy.h include files explicitly, as they're taken care of indirectly by curl/curl.h these days.
Daniel Stenberg
2001-03-14 08:55:17 +00:00
bfe413d8bdincreased the 'current' number for the interface
Daniel Stenberg
2001-03-14 08:54:18 +00:00
dbbd20646fCurl_str(n)equal renamed to curl_str(n)equal
Daniel Stenberg
2001-03-14 08:53:31 +00:00
b8fe4deb13documented the undocumented public functions in libcurl
Daniel Stenberg
2001-03-14 08:51:04 +00:00
332a016e3cchunked bugfix, Jrn's fixes, the interface number increase
Daniel Stenberg
2001-03-14 08:49:11 +00:00
3738e4bdc0The Curl_* prefixes are now changed for curl_* ones, as these two functions are used externally and thus are public symbols.
Daniel Stenberg
2001-03-14 08:47:56 +00:00
3201d2dafaJrn added "#define socklen_t int"
Daniel Stenberg
2001-03-14 08:28:54 +00:00
0a1e002ca4Jrn fixed it to compile on win32 again
Daniel Stenberg
2001-03-14 08:28:19 +00:00
9195bb64d4Jrn Hartroth added a set of files
Daniel Stenberg
2001-03-14 08:23:51 +00:00
11ee547a0eJrn Hartroth fixed a bad #endif placement
Daniel Stenberg
2001-03-14 08:20:41 +00:00
147de35d41re-added the default switch for weird states
Daniel Stenberg
2001-03-13 23:29:53 +00:00
e16e9b91aeremoved the random seeding and persistant stuff, as both are already in this version!
Daniel Stenberg
2001-03-13 22:31:56 +00:00
f9cde0646fAdded a failf() error message when the chunked read returns failure
Daniel Stenberg
2001-03-13 22:20:14 +00:00
195233ed5cupdated the chunked state-machine to deal with the trailing CRLF that comes after the data part
Daniel Stenberg
2001-03-13 22:16:42 +00:00
048e654514made 'X to Y' sequences not include X twice
Daniel Stenberg
2001-03-13 22:14:53 +00:00
dfbd45142dcorrected the chunked format
Daniel Stenberg
2001-03-13 22:13:06 +00:00
60bbb64a81EXTRA_DIST got too long, I shortened it now but we have to do something else as it will grow a lot more...
Daniel Stenberg
2001-03-13 13:31:14 +00:00
c622f2bb4efailf() now respects the mute flag
Daniel Stenberg
2001-03-13 13:22:58 +00:00
cd59f13da6Guenole Bescon's bug found on march 8 is added
Daniel Stenberg
2001-03-13 13:14:21 +00:00
11d718bf52exchanged I and me to we and us in a lot of places updated for persistant connections and 7.7
Daniel Stenberg
2001-03-13 11:47:30 +00:00
8e8846d876Added test case 37, HTTP GET with name+password in the URL
Daniel Stenberg
2001-03-13 09:44:09 +00:00
7d562bb685a whole new section on persitant connections and how they're treated internally
Daniel Stenberg
2001-03-13 08:16:54 +00:00
20ddd35669we speak HTTP 1.1 now more braging about the portability
Daniel Stenberg
2001-03-13 08:16:25 +00:00
063f88cd14close policies
Daniel Stenberg
2001-03-13 07:59:19 +00:00
87b0b7cab9initial close policy support
Daniel Stenberg
2001-03-13 07:54:18 +00:00
70d0d9d4daAdded 'created' to the connectdata struct to hold the creation date, to be used for the close policy decision
Daniel Stenberg
2001-03-13 07:53:59 +00:00
4ae3bd71eaCurl_tvnow is now properly declared with (void)
Daniel Stenberg
2001-03-13 07:53:06 +00:00
a9390665b8curl_getinfo is removed, not a public function
Daniel Stenberg
2001-03-13 07:46:19 +00:00
fb7a6e3423added --random-file and --egd-file to the command line client
Daniel Stenberg
2001-03-12 16:02:29 +00:00
cc99e3f7deAdded the two new seeding options
Daniel Stenberg
2001-03-12 15:52:18 +00:00
e6b40bb6actwo new random seed options for the ssl config struct
Daniel Stenberg
2001-03-12 15:47:41 +00:00
f2fd1b8856two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET
Daniel Stenberg
2001-03-12 15:47:17 +00:00
cb4efcf275better chunked error detection
Daniel Stenberg
2001-03-12 15:29:04 +00:00
56a27d608aAdded test case 36: [HTTP GET with badly formatted chunked Transfer-Encoding]
Daniel Stenberg
2001-03-12 15:27:01 +00:00
46c9075eabupdated the comment for the chunked reading
Daniel Stenberg
2001-03-12 15:21:11 +00:00
d95fa648e9made it return illegal hex in case no hexadecimal digit was read when at least one was expected
Daniel Stenberg
2001-03-12 15:20:35 +00:00
563ad213dcadded an error code for illegal hex values in the chunked stream
Daniel Stenberg
2001-03-12 15:20:02 +00:00
0121d7d731Added new libcurl options in include/curl/curl.h, they're documented in curl_easy_setopt.3 and they're partly implemented in lib/url.c
Daniel Stenberg
2001-03-12 15:11:38 +00:00
8495fac1c5Added options for the persistant support, they're also documented in curl_easy_setopt.3 now
Daniel Stenberg
2001-03-12 15:06:29 +00:00
38c349f751support for a few new libcurl 7.7 CURLOPT_* options added
Daniel Stenberg
2001-03-12 15:05:54 +00:00
542df800abAdded four new options that come with the new persitant support: CURLOPT_MAXCONNECTS, CURLOPT_CLOSEPOLICY, CURLOPT_FRESH_CONNECT and CURLOPT_FORBID_REUSE
Daniel Stenberg
2001-03-12 14:54:00 +00:00
3e88b1cac5the client is adjusted to work with persistant curl handles, and *gee* it seems to be working!!!
Daniel Stenberg
2001-03-12 13:59:38 +00:00
d774b10afbAdded infof() calls for persistant connection info, we are very likely to need these at least for debugging 7.7 and probably later as well...
Daniel Stenberg
2001-03-12 13:58:03 +00:00
b449b94393moved the libcurl init call
Daniel Stenberg
2001-03-12 13:57:02 +00:00
a6cb9b08b2persistant updates
Daniel Stenberg
2001-03-12 13:55:06 +00:00
440a3101d0added a note about persitant connections through HTTP proxies
Daniel Stenberg
2001-03-12 13:54:46 +00:00
9778a5356bAdded some persistant notes
Daniel Stenberg
2001-03-12 13:54:10 +00:00
de7dcdbc54modified to make the curl client with persistant connection support do correct
Daniel Stenberg
2001-03-12 13:47:07 +00:00
070968abbcinclude the failed test case numbers in the end summary
Daniel Stenberg
2001-03-12 13:46:23 +00:00
e97fc2aab5Added description of the new test case ranges support
Daniel Stenberg
2001-03-12 12:58:57 +00:00
a23ac24192made it support test case ranges on the command line, specified as "X to Y", where X is smaller than Y.
Daniel Stenberg
2001-03-12 12:58:30 +00:00
9ee14644a7adjusted to work with the HTTP 1.1-speaking libcurl
Daniel Stenberg
2001-03-12 12:45:12 +00:00
c576e114b9output the protocol data to stderr when verbose is on
Daniel Stenberg
2001-03-12 12:44:44 +00:00
639a7982baserver problems, libcurl *works* persistant over HTTP proxy!!!!
Daniel Stenberg
2001-03-12 10:18:01 +00:00
5bbe189420modified Curl_disconnect() so that it unlinks itself from the data struct, it saves me from more mistakes when the connectindex is -1 ... also, there's no point in having its parent do it as all parents would do it anyway.
Daniel Stenberg
2001-03-12 10:13:42 +00:00
93ff159e32split up the big printf() into several ones to never use strings longer than 509 letters (as newer gcc warns on with -Wall)
Daniel Stenberg
2001-03-12 09:47:23 +00:00
8eb8a0a8e4bugfix: don't use the connectindex if it is -1
Daniel Stenberg
2001-03-12 09:44:57 +00:00
a4af638867added persistant connection details
Daniel Stenberg
2001-03-12 09:44:08 +00:00
75a9a87ec2replaced I and my with we and us
Daniel Stenberg
2001-03-12 09:43:43 +00:00
b5ba011110updated
Daniel Stenberg
2001-03-12 09:42:22 +00:00
e9b763ff05use the new name and hostname even though an old connection is reused, since we can re-use a proxy connection that actually has different host names on the same connection
Daniel Stenberg
2001-03-09 16:50:08 +00:00
ac0bad2433remake Host: for each connection and it'll work with proxies too
Daniel Stenberg
2001-03-09 16:48:18 +00:00
67d5c0a970for HTTP/1.0 we default to non keep-alive connections, but when we get a 1.0-reply from a proxy we use and the Proxy-Connection: keep-alive header is used, we switch it on and live happily ever after
Daniel Stenberg
2001-03-09 16:02:59 +00:00
580896d615Added httpversion to the progress struct, we do read it, we can just as well store it.
Daniel Stenberg
2001-03-09 15:58:36 +00:00
11693c0faathe socklen_t check is more involved now, but works on linux at least
Daniel Stenberg
2001-03-09 15:38:59 +00:00
26cd8eda4aAdded socklen_t
Daniel Stenberg
2001-03-09 15:24:33 +00:00
8cd3f44040added a check for socklen_t removed the tiny/Makefile that was added accidentaly before
Daniel Stenberg
2001-03-09 15:21:00 +00:00
2b30bfc349all comments for the former public "low level" interface have been removed since they were out-of-date and not correct anymore.
Daniel Stenberg
2001-03-09 15:19:42 +00:00
8ec4dba599removed handles and states from the main structs renamed prefixes from curl_ to Curl_ made persistant connections work with http proxies (at least partly)
Daniel Stenberg
2001-03-09 15:18:25 +00:00
1efec6572ecurl_transfer became Curl_perform() to better match the public name and use the correct prefix
Daniel Stenberg
2001-03-09 15:17:09 +00:00
781dd7a9bfprefix changes curl_ to Curl_ made it work (partly) with persistant connections for HTTP/1.0 replies moved the 'newurl' struct field for Location: to the connectdata struct
Daniel Stenberg
2001-03-09 15:16:28 +00:00
beb8761b22#include <string.h> removed a warning
Daniel Stenberg
2001-03-09 15:14:51 +00:00
071c7de9feremoved curl_read() and curl_write() - they weren't used and the public "low leve" interface is dumped
Daniel Stenberg
2001-03-09 15:14:22 +00:00
3e7ebcd051uses socklen_t now
Daniel Stenberg
2001-03-09 15:13:34 +00:00
c67952fc5ccurl_ prefix modified to Curl_
Daniel Stenberg
2001-03-09 15:13:11 +00:00
7d7c24f915accept() and getsockname() now use socklen_t types, as that was just added to configure
Daniel Stenberg
2001-03-09 15:12:22 +00:00
0dc8c4d451use unsigned int hex to receive the hex digit in, caused a warning with -Wall and a new gcc
Daniel Stenberg
2001-03-09 15:11:39 +00:00
9cf4434ae2Modified to use Curl_* functions instead of curl_* ones
Daniel Stenberg
2001-03-09 15:10:58 +00:00
8ccd8b6dbconly generate maximum 509 characters in each string
Daniel Stenberg
2001-03-09 13:11:28 +00:00
f54a282cccpersistant adjusts
Daniel Stenberg
2001-03-08 12:32:03 +00:00
2a11bdc216HTTP HEAD tests
Daniel Stenberg
2001-03-08 10:39:36 +00:00
5cd4c3ed24return from transfer when all headers have been received and nobody is set, as is the case when doing HEAD requests
Daniel Stenberg
2001-03-08 10:32:27 +00:00