summaryrefslogtreecommitdiff
path: root/lib/gopher.c
Commit message (Collapse)AuthorAgeFilesLines
...
* WIN32 io.h and fcntl.h inclusion done in setup_once.hYang Tse2011-07-251-6/+4
|
* time.h and sys/time.h inclusion conditionally done in setup_once.hYang Tse2011-07-251-4/+0
|
* RTSP: convert protocol-specific checks to genericDaniel Stenberg2011-05-051-0/+1
| | | | | Add a 'readwrite' function to the protocol handler struct and use that for the extra readwrite functionality RTSP needs.
* source cleanup: unify look, style and indent levelsDaniel Stenberg2011-04-271-5/+5
| | | | | By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
* protocols: use CURLPROTO_ internallyDaniel Stenberg2011-03-141-1/+1
| | | | | | | | | | | The PROT_* set of internal defines for the protocols is no longer used. We now use the same bits internally as we have defined in the public header using the CURLPROTO_ prefix. This is for simplicity and because the PROT_* prefix was already used duplicated internally for a set of KRB4 values. The PROTOPT_* defines were moved up to just below the struct definition within which they are used.
* protocol handler: added flags fieldDaniel Stenberg2011-03-141-2/+3
| | | | | | | | | | | | | | | | | | | | The protocol handler struct got a 'flags' field for special information and characteristics of the given protocol. This now enables us to move away central protocol information such as CLOSEACTION and DUALCHANNEL from single defines in a central place, out to each protocol's definition. It also made us stop abusing the protocol field for other info than the protocol, and we could start cleaning up other protocol-specific things by adding flags bits to set in the handler struct. The "protocol" field connectdata struct was removed as well and the code now refers directly to the conn->handler->protocol field instead. To make things work properly, the code now always store a conn->given pointer that points out the original handler struct so that the code can learn details from the original protocol even if conn->handler is modified along the way - for example when switching to go over a HTTP proxy.
* fix compiler warning: rounding, sign extension, or loss of accuracy may resultYang Tse2010-12-021-1/+2
|
* warning: fix conversion to 'int' from 'size_t'Daniel Stenberg2010-09-061-1/+2
|
* gopher: enable the header callback/verbosityDaniel Stenberg2010-08-251-0/+8
|
* gopher: fix memory leak and busyloopDaniel Stenberg2010-08-251-6/+26
| | | | | | | | 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.
* Gopher using Curl_write; test suite (4 tests)Cameron Kaiser2010-08-251-4/+21
|
* Gopher protocol support (initial release)Cameron Kaiser2010-08-251-0/+162