History log of /curl/lib/dict.c (Results 51 – 75 of 123)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2c905fd1 24-Nov-2011 Jonas Schnelli

query-part: ignore the URI part for given protocols

By setting PROTOPT_NOURLQUERY in the protocol handler struct, the
protocol will get the "query part" of the URL cut off before the dat

query-part: ignore the URI part for given protocols

By setting PROTOPT_NOURLQUERY in the protocol handler struct, the
protocol will get the "query part" of the URL cut off before the data is
handled by the protocol-specific code. This makes libcurl adhere to
RFC3986 section 2.2.

Test 1220 is added to verify a file:// URL with query-part.

show more ...


Revision tags: curl-7_23_1, curl-7_23_0
# d7934b8b 21-Oct-2011 Daniel Stenberg

curl_multi_fdset: correct fdset with FTP PORT use

After a PORT has been issued, and the multi handle would switch to the
CURLM_STATE_DO_MORE state (which is unique for FTP), libcurl woul

curl_multi_fdset: correct fdset with FTP PORT use

After a PORT has been issued, and the multi handle would switch to the
CURLM_STATE_DO_MORE state (which is unique for FTP), libcurl would
return the wrong fdset to wait for when curl_multi_fdset() is
called. The code would blindly assume that it was waiting for a connect
of the second connection, while that isn't true immediately after the
PORT command.

Also, the function multi.c:domore_getsock() was highly FTP-centric and
therefore ugly to keep in protocol-agnostic code. I solved this problem
by introducing a new function pointer in the Curl_handler struct called
domore_getsock() which is only called during the DOMORE state for
protocols that set that pointer.

The new ftp.c:ftp_domore_getsock() function now returns fdset info about
the control connection's command/response handling while such a state is
in use, and goes over to waiting for a writable second connection first
once the commands are done.

The original problem could be seen by running test 525 and checking the
time stamps in the FTP server log. I can verify that this fix at least
fixes this problem.

Bug: http://curl.haxx.se/mail/lib-2011-10/0250.html
Reported by: Gokhan Sengun

show more ...


Revision tags: curl-7_22_0
# f1586cb4 26-Jul-2011 Yang Tse

stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h


# 983f3d70 25-Jul-2011 Yang Tse

WIN32 io.h and fcntl.h inclusion done in setup_once.h


# 0337b871 25-Jul-2011 Yang Tse

time.h and sys/time.h inclusion conditionally done in setup_once.h


Revision tags: curl-7_21_7
# f0612f16 05-May-2011 Daniel Stenberg

RTSP: convert protocol-specific checks to generic

Add a 'readwrite' function to the protocol handler struct and use that
for the extra readwrite functionality RTSP needs.


Revision tags: curl-7_21_6
# b903186f 20-Apr-2011 Daniel Stenberg

source cleanup: unify look, style and indent levels

By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.


Revision tags: curl-7_21_5
# 13b64d75 14-Mar-2011 Daniel Stenberg

protocols: use CURLPROTO_ internally

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 head

protocols: use CURLPROTO_ internally

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.

show more ...


# 8831000b 14-Mar-2011 Daniel Stenberg

protocol handler: added flags field

The protocol handler struct got a 'flags' field for special information
and characteristics of the given protocol.

This now enables us to mov

protocol handler: added flags field

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.

show more ...


Revision tags: curl-7_21_4, curl-7_21_3, curl-7_21_2, curl-7_21_1, curl-7_21_0
# c0111460 16-Apr-2010 Daniel Stenberg

Curl_setup_transfer: no longer returns anything

This function could only return CURLE_OK and by changing it to
a void instead, we can simplify code all over.


Revision tags: curl-7_20_1
# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


Revision tags: curl-7_20_0, curl-7_19_7
# 4798f4e6 08-Oct-2009 Yang Tse

Fix compiler warning: addition result could be truncated before cast to bigger sized type


Revision tags: curl-7_19_6
# 35217709 10-Jun-2009 Daniel Stenberg

- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
contributed a range of patches to fix them.


# 1c294758 04-Jun-2009 Yang Tse

fix shadowing of a global declaration


Revision tags: curl-7_19_5, curl-7_19_4, curl-7_19_3
# 07416b61 19-Dec-2008 Daniel Stenberg

- Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
now has an improved ability to do right when the multi interface (both
"regular" and multi_socket) is used fo

- Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
now has an improved ability to do right when the multi interface (both
"regular" and multi_socket) is used for SCP and SFTP transfers. This should
result in (much) less busy-loop situations and thus less CPU usage with no
speed loss.

show more ...


# ea8fbb52 14-Nov-2008 Dan Fandrich

Added some #ifdefs around header files and change the EAGAIN test to
fix compilation on Cell (reported by Jeff Curley).


Revision tags: curl-7_19_2, curl-7_19_1
# b701ea36 23-Oct-2008 Daniel Stenberg

moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.


# bab51838 23-Oct-2008 Dan Fandrich

Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings th

Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale. This should fix a few more
Turkish locale problems.

show more ...


# 8f467b42 29-Sep-2008 Dan Fandrich

Removed unneeded includes of signal.h and setjmp.h


Revision tags: curl-7_19_0, curl-7_18_2, curl-7_18_1, curl-7_18_0
# 662bee71 08-Dec-2007 Daniel Stenberg

All static functions that were previously name Curl_* something no longer
use that prefix as we use that prefix only for library-wide internal global
symbols.


# 13648f8c 24-Nov-2007 Daniel Stenberg

struct HandleData is now called struct SingleRequest, and is only for data that
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to mov

struct HandleData is now called struct SingleRequest, and is only for data that
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to move out a few struct members (that had to
be set before DO or used after DONE) to the UrlState struct. The SingleRequest
struct is accessed with SessionHandle->req.

One of the biggest reasons for doing this was the bunch of duplicate struct
members in HandleData and Curl_transfer_keeper since it was really messy to
keep track of two variables with the same name and basically the same purpose!

show more ...


# cbd1a77e 07-Nov-2007 Daniel Stenberg

if () => if()
while () => while()
and some other minor re-indentings


Revision tags: curl-7_17_1
# 92433e59 17-Oct-2007 Yang Tse

We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.


# 07b6e736 12-Oct-2007 Patrick Monnerat

Added per-protocol callback static tables, replacing callback ptr storage
in the connectdata structure by a single handler table ptr.


Revision tags: curl-7_17_0
# 52376766 26-Aug-2007 Dan Fandrich

Fixed some minor mismatched types found by splint.


12345