aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-16whitespace: unified sourceDaniel Stenberg
if ( => if( while ( => while( and some other changes in the similar spirit, trying to make the whole file use the same style
2010-09-16remote-header-name: don't output filename when NULLDaniel Stenberg
2010-09-15TheArtOfHttpScripting: use long optionsJames Bursa
2010-09-14getinmemory: make the example easier to followJames Bursa
1. Remove the comment warning that it's "not been verified to work". It works with no problems in my testing. 2. Remove 2 unnecessary includes. 3. Remove the myrealloc(). Initialize chunk.memory with malloc() instead of NULL. The comments for these two parts contradicted each other. 4. Handle out of memory from realloc() instead of continuing. 5. Print a brief status message at the end.
2010-09-14multi: don't do extra expire calls for the connectionDaniel Stenberg
The timeout is set for the connect phase already at the start of the request so we should not add a new one, and we MUST not set expire to 0 as that will remove any other potentially existing timeouts.
2010-09-12Fix a bashism: test a = b is more portable than ==.Peter Pentchev
2010-09-12glob_word: remove a check that is always falseDaniel Stenberg
2010-09-12inflate_stream: remove redundant check that is always trueDaniel Stenberg
2010-09-12digest: make it clear the condition is always trueDaniel Stenberg
2010-09-12ssluse: removed redundant check that is always trueDaniel Stenberg
2010-09-11Link curl and the test apps with -lrt explicitly when necessaryDan Fandrich
When curl calls a function from that library then it needs to explicitly link to the library instead of piggybacking on libcurl's own dependency. Without this, GNU ld with the --no-add-needed flag fails when linking (which Fedora now does by default). Reported by: Quanah Gibson-Mount Bug: http://curl.haxx.se/mail/lib-2010-09/0085.html
2010-09-09Mention the Debian Popularity ContestDan Fandrich
2010-09-09test565: Don't hardcode IP:PORTTor Arntsen
Use %HOSTIP:%HTTPPORT instead of 127.0.0.1:8990 so that verification works if the baseport change option is used when executing runtests.pl.
2010-09-09curl.1: updated protocols and polished languageDaniel Stenberg
2010-09-08FAQ: CURL_STATICLIB for visual studio usersDaniel Stenberg
Clarified as it isn't used with a -D option for them. Reported by: Artfunkel Bug: http://curl.haxx.se/bug/view.cgi?id=3060381
2010-09-07FAQ: updated and added host with custom IP questionDaniel Stenberg
Added "3.19 How do I get HTTP from a host using a specific IP address?" and updated some stuff about certs etc.
2010-09-07chunky parser: only rewind if neededDaniel Stenberg
The code reading chunked encoding attempts to rewind the code if it had read more data than the chunky parser consumes. The rewinding can fail and it will then cause an error. This change now makes the rewinding only happen if pipelining is in use - as that's the only time it really needs to be done. Bug: http://curl.haxx.se/mail/lib-2010-08/0297.html Reported by: Ron Parker
2010-09-06rtsp: avoid SIGSEGV on malformed headerKamil Dudka
2010-09-06rtsp: avoid SIGSEGV on malformed headerKamil Dudka
2010-09-06warning: fix conversion to 'int' from 'size_t'Daniel Stenberg
2010-09-06portabilty: use proper variable type to hold socketsDaniel Stenberg
Curl_getconnectinfo() is changed to return a proper curl_socket_t for the last socket so that it'll work more portably (and cause less compiler warnings).
2010-09-03Trial to fix another compiler warning with braces.Guenter Knauf
2010-09-02Use checkprefix() to compare protocol-specific stringsDan Fandrich
Otherwise, there could be problems running in certain locales.
2010-09-02Moved S_ISREG define to setup as suggested by Dan.Guenter Knauf
2010-09-02Use own typedef as workaround for broken sspi.h header (f.e. Watcom).Guenter Knauf
2010-09-02Added some hacks in order to build with VC from git.Guenter Knauf
Adam Light posted this patch to the list which enables builds from git with VC versions other than vc6; also he added a vc10 target.
2010-09-02Added S_ISREG define for Win32.Guenter Knauf
2010-09-01multi: fixes for timing out handlesDaniel Stenberg
Add a timeout check for handles in the state machine so that they will timeout in all states disregarding what actions that may or may not happen. Fixed a bug in socket_action introduced recently when looping over timed out handles: it wouldn't assign the 'data' variable and thus it wouldn't properly take care of handles. In the update_timer function, the code now checks if the timeout has been removed and then it tells the application. Previously it would always let the remaining timeout(s) just linger to expire later on.
2010-09-01threaded resolver: no more expire 0 callsDaniel Stenberg
Curl_expire() set to 0 expires ALL timeouts so it should only be called if we truly and really want to remove all timeouts for the handle.
2010-09-01resolve_server: simplify codeDaniel Stenberg
Make use of the helper function Curl_timeleft() instead of duplicating code.
2010-08-31multi: make sure the next timeout is used when one expiresDaniel Stenberg
Each easy handle has a list of timeouts, so as soon as the main timeout for a handle expires, we must make sure to get the next entry from the list and re-add the handle to the splay tree. This was attempted previously but was done poorly in my commit 232ad6549a68450.
2010-08-30Added proxy keyword to allow skipping test in proxyless configsDan Fandrich
2010-08-29multi: set timeouts when transfer beginsDaniel Stenberg
When a new transfer is about to start we now set the proper timeouts to expire for the multi interface if they are set for the handle. This is a follow-up bugfix to make sure that easy handles timeout properly when the times expire and the multi interface is used. This also improves curl_multi_timeout().
2010-08-28CURLOPT_DIRLISTONLY: don't use with CURLOPT_WILDCARDMATCHDaniel Stenberg
2010-08-28FAQ: update list of supported protocolsDaniel Stenberg
2010-08-28In the m4 detection line, factor out the 2>dev/nullFabian Keil
2010-08-28If m4 doesn't support --version, try if gm4 does.Fabian Keil
2010-08-28If the m4 version isn't recognized at all, just say soFabian Keil
'm4 version found. You need a GNU m4 installed!' is a bit confusing.
2010-08-28HISTORY: mention the gopher storyDaniel Stenberg
2010-08-25Tweaked some test data filesDan Fandrich
Fixed some issues that caused xmllint failures, added features and keywords, fixed some quotes and removed some <strip> sections that unnecessarily limited test checking.
2010-08-25Added new source files to Symbian and TPF makefilesDan Fandrich
2010-08-25RELEASE-NOTES: sync from b980c9a02 to HEADDaniel Stenberg
2010-08-25Makefile: add gopher.c file to buildDaniel Stenberg
As the VC and RISCOS makefiles don't use the .inc file
2010-08-25runtests: fix uninitialized variable warningDaniel Stenberg
2010-08-25gopher tests: revert parts of gopher in the pingpong serverDaniel Stenberg
Introduced in the initial gopher commits, there was added logic to do GOPHER test serving in the pingpong server but as it resembles HTTP much more than FTP or SMTP, the gopher testing has been moved over to instead use the sws (HTTP) server. This change simply removes unused code.
2010-08-25gopher tests: use sws and adjusted to more standard styleDaniel Stenberg
2010-08-25sws: added basic gopher supportDaniel Stenberg
2010-08-25gopher: enable the header callback/verbosityDaniel Stenberg
2010-08-25gopher: fix test case line endingsDaniel Stenberg
Patches over email very easily lose CRLF line endings in files otherwise LF-only so I had to put them back where needed.
2010-08-25gopher: fix memory leak and busyloopDaniel Stenberg
The fix for the busyloop really only is a temporary work-around. It causes a BLOCKING behavior which is a NO-NO. This function should rather be split up in a do and a doing piece where the pieces that aren't possible to send now will be sent in the doing function repeatedly until the entire request is sent.