Daniel Stenberg
ed21701df3
Curl_write's 5th argument now is signed
2002-01-16 14:49:51 +00:00
Daniel Stenberg
df01507582
Curl_read() and Curl_write() are both now adjusted to return properly in
...
cases where EWOULDBLOCK or equivalent is returned. We must not block.
2002-01-16 14:49:08 +00:00
Daniel Stenberg
f2bda5fd5b
Curl_write() now takes a different 5th argument
2002-01-16 14:47:50 +00:00
Daniel Stenberg
cba9838e8f
Somewhat ugly fix to deal with non-blocking sockets. We just loop and try
...
again. THIS IS NOT A NICE FIX.
2002-01-16 14:47:00 +00:00
Daniel Stenberg
b6dba9f5dd
Somewhat ugly fix to deal with non-blocking sockets. We just loop and try
...
again. THIS IS NOT A NICE FIX. We should/must make a select() then and only
retry when we can write to the socket again.
2002-01-16 14:46:00 +00:00
Daniel Stenberg
6e9d1617c6
added support for --cc to output the compiler name. This makes it possible
...
to compile libcurl stuff without any prior knowledge:
cc=`curl-config --cc`
cflags=`curl-config --cflags`
libs=`curl-config --libs`
$cc $flags $libs -o example example.c
Or if you prefer, the oh-so-cool single-line version:
`curl-config --cc --cflags --libs` -o example example.c
2002-01-16 14:20:06 +00:00
Daniel Stenberg
ea811fee52
added a somewhat cool single-line command that builds most example sources
...
on unix-like systems
2002-01-16 14:13:54 +00:00
Daniel Stenberg
7391fd8f6a
initial attempt to write a tutorial-like libcurl guide
2002-01-15 08:22:00 +00:00
Daniel Stenberg
6c00c58f2a
fixed non-blocking reads, fixed ssl sessions, in_addr_t and more non-blocking
2002-01-14 23:32:57 +00:00
Daniel Stenberg
4931fbce49
Curl_read() now returns a negative return code if EWOULDBLOCK or similar
2002-01-14 23:14:59 +00:00
Daniel Stenberg
fefc7ea600
a memory leak when name lookup failed is now removed
2002-01-14 23:14:24 +00:00
Daniel Stenberg
d220389647
Stoned Elipot's patch for the in_addr_t test
2002-01-14 07:53:09 +00:00
Sterling Hughes
a1f910c159
Remove erreaneous include, setup.h is included one line above
2002-01-14 05:36:28 +00:00
Daniel Stenberg
e4866563de
Götz Babin-Ebell updated with some new 7.9.3 features
2002-01-13 11:32:36 +00:00
Daniel Stenberg
47f45aa229
Götz Babin-Ebell provided some documantation for the ENGINE stuff
2002-01-13 11:32:05 +00:00
Daniel Stenberg
affe334675
added http-post.c
2002-01-10 09:00:02 +00:00
Daniel Stenberg
ee7e184e26
slightly extended to mention that -v and -i are good options to use when
...
reporting bugs
2002-01-10 07:38:53 +00:00
Daniel Stenberg
bec0ebacf1
bad comment begone
2002-01-09 13:23:01 +00:00
Daniel Stenberg
5bd6d631c6
cut off argc and argv as well
2002-01-09 13:22:31 +00:00
Daniel Stenberg
fd1799f3bb
Cleaned up this example to make it even simpler.
2002-01-09 13:22:03 +00:00
Daniel Stenberg
d84a0c51e0
Cris Bailiff found out that when the SSL session cache was filled, libcurl
...
would crash. This corrects the problem.
2002-01-09 09:38:37 +00:00
Daniel Stenberg
d9a7c7de51
David Bentham's updated QNX notification
2002-01-08 23:27:42 +00:00
Daniel Stenberg
d57e09889a
added a missing failf() before returning an error code
2002-01-08 23:23:24 +00:00
Daniel Stenberg
eecb86bfb0
this seems to correct the SSL reading problem introduced when switching
...
over to non-blocking sockets, but this loops very nastily. We should return
back to the select() and wait there until more data arrives, not just blindly
attempt again and again...
2002-01-08 23:19:32 +00:00
Daniel Stenberg
0b1197936c
I made the write callback create the file the first time it gets called so
...
that it won't create an empty file if the remote file doesn't exist
2002-01-08 13:05:44 +00:00
Daniel Stenberg
b545ac6391
test case 38 added a few new requirements
2002-01-08 09:32:41 +00:00
Daniel Stenberg
a922132e4a
updated
2002-01-08 09:32:21 +00:00
Daniel Stenberg
9474e8d6d2
added some tracability
2002-01-08 09:32:10 +00:00
Daniel Stenberg
6328428568
test case 38, try a HTTP download resume without the server supporting
...
ranges
2002-01-08 09:31:40 +00:00
Daniel Stenberg
ea9a88a9b8
another example source added
2002-01-08 08:26:22 +00:00
Daniel Stenberg
aec7358ca4
7.9.3 pre-release commit
2002-01-08 08:25:44 +00:00
Daniel Stenberg
3c334b2bb6
non-blocking sockets, DNS caching updated, cookies corrected, bool is now
...
unsigned everywhere
2002-01-08 07:22:33 +00:00
Daniel Stenberg
75bba0da92
added two typecasts to prevent compiler (gcc3) warnings
2002-01-08 07:06:07 +00:00
Sterling Hughes
c0bfe7be15
1) the dns_cache_timeout should be an integer, not a bool
...
2) in the curl_dns_cache_entry structure, timestamp should be
a time_t instead of an integer (although I doubt it matters).
2002-01-08 04:30:59 +00:00
Sterling Hughes
22ac08e06d
Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option.
...
The default cache timeout for this is 60 seconds, which is arbitrary and
completely subject to change :)
2002-01-08 04:26:47 +00:00
Daniel Stenberg
87037136ef
As identified in bug report #495290 , the last "name=value" pair in a
...
Set-Cookie: line was ignored if they didn't end with a trailing
semicolon. This is indeed wrong syntax, but there are high-profile web sites
out there sending cookies like that so we must make a best-effort to parse
them.
2002-01-07 23:05:36 +00:00
Daniel Stenberg
2182e37433
the bool typedef is now made unsigned, to make sure it stays that on all
...
platforms, unrelated to what they might prefer by default
2002-01-07 22:47:21 +00:00
Daniel Stenberg
1de82b220d
removed silly check for >=0 of a supposedly unsigned value!
2002-01-07 22:46:38 +00:00
Sterling Hughes
bd878756fc
Probably not necessary, but good practice.
2002-01-07 20:55:35 +00:00
Sterling Hughes
8d7f402efb
Make cach'ing work with threads now, there are now three cases:
...
- Use a global dns cache (via setting the tentatively named,
CURLOPT_DNS_USE_GLOBAL_CACHE option to true)
- Use a per-handle dns cache, by default
- Use a pooled dns cache when in the "multi" interface
2002-01-07 20:52:32 +00:00
Daniel Stenberg
d3299beec7
Modified to use non-blocking sockets all the time.
2002-01-07 18:38:01 +00:00
Daniel Stenberg
f9192db358
VC++ makefile, HTTP 204, cookie fix, non-blocking socket for better SSL
...
connection timeout
2002-01-07 16:03:36 +00:00
Daniel Stenberg
c69c0c0446
added proper breaks in the switch()
2002-01-07 15:24:52 +00:00
Daniel Stenberg
deb2911c0e
Added David Bentham's notes about QNX and FD_SETSIZE
2002-01-07 15:14:01 +00:00
Daniel Stenberg
e31a306a38
HTTP response 204 should be treated similar to 304, that is we must not
...
expect (nor read) any response-body
2002-01-07 14:57:18 +00:00
Daniel Stenberg
d9a7773011
added precautions to not go insane when two matching cookies end up in the
...
cookie list, even though they're not supposed to do that...
2002-01-07 14:56:15 +00:00
sm
2b14916813
Add hash and llist to VC dsp file
2002-01-04 23:48:28 +00:00
sm
1d1530e14c
Add hash and llist to VC makefile
2002-01-04 23:47:07 +00:00
Daniel Stenberg
b4fdc025a8
-l lists all tests
2002-01-04 13:20:17 +00:00
Daniel Stenberg
f1c14fe0b4
The former -c is "-C -" these days
2002-01-04 13:15:07 +00:00