aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-14pipelining: Remove dead code.Linus Nielsen Feltzing
2013-03-13Multiple pipelines and limiting the number of connections.Linus Nielsen Feltzing
Introducing a number of options to the multi interface that allows for multiple pipelines to the same host, in order to optimize the balance between the penalty for opening new connections and the potential pipelining latency. Two new options for limiting the number of connections: CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections to the same host. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished, so we can reuse the connection. CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished. The free connection will then be reused, if possible, or closed if the pending handle can't reuse it. Several new options for pipelining: CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a pipeline is "full" when a connection is to be reused, a new connection will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it. If not, the handle will be put in a pending state until a connection is ready (either free or a pipe got shorter). CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a transfer with a content length that is larger than this. CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a chunk larger than this. CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow pipelining. CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow pipelining. See the curl_multi_setopt() man page for details.
2013-03-13tool_main.c: remove redundant vms_show storage-class specifierYang Tse
vms_show 'extern' storage-class specifier removed from tool_main.c due to... - Advice from Tor Arntsen: http://curl.haxx.se/mail/lib-2013-03/0164.html - HP OpenVMS docs stating that 'Extern is the default storage class for variables declared outside a function.' http://h71000.www7.hp.com/commercial/c/docs/dec_c_help_5.html (Storage_Classes section)
2013-03-13test509: libcurl initialization with memory callbacks and actual usageYang Tse
2013-03-13pop3: Removed unnecessary transfer cancellationSteve Holme
Following commit e450f66a02d8 and the changes in the multi interface being used internally, from 7.29.0, the transfer cancellation in pop3_dophase_done() is no longer required.
2013-03-13Makefile.am: add VMS files not being included in tarballYang Tse
2013-03-13build_vms.com: VMS build fixesTom Grace
Added missing slash in cc_full_list. Removed unwanted extra quotes inside symbol tool_main for non-VAX architectures that triggered link failure. Replaced curl_sys_inc with sys_inc.
2013-03-13tool_main.c: fix VMS global variable storage-class specifierTom Grace
An extern submits a psect and a global reference to the linker to point to it. Using "extern int vms_show = 0" also creates a globaldef. The use of the extern by itself does declare a psect but does not declare a globalsymbol. It does declare a globalref. But the linker needs one and only one globaldef or there is an error.
2013-03-12OS400: synchronize RPG bindingPatrick Monnerat
2013-03-12pop3: Fixed continuous wait when using --ftp-listSteve Holme
Don't initiate a transfer when using --ftp-list.
2013-03-12curl_global_init: accept the CURL_GLOBAL_ACK_EINTR flagZdenek Pavlas
The flag can be used in pycurl-based applications where using the multi interface would not be acceptable because of the performance lost caused by implementing the select() loop in python. Bug: http://curl.haxx.se/bug/view.cgi?id=1168 Downstream Bug: https://bugzilla.redhat.com/919127
2013-03-12easy: do not ignore poll() failures other than EINTRKamil Dudka
2013-03-12curl.h: stricter CURL_EXTERN linkage decorations logicYang Tse
No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
2013-03-11THANKS: Latin-1'ified Jiri's nameDaniel Stenberg
2013-03-11test806: Added CRLF to reply data to be compliant with RFC-822Steve Holme
2013-03-11test805: added crlf newlines to make data size matchDaniel Stenberg
since mails sent are supposed to have CRLF line endings I added them and now the data size after (\Seen) matches again properly
2013-03-11test: fix newline for the data check of 807Daniel Stenberg
2013-03-11test801 to test807: fix protocol section line endingsYang Tse
2013-03-10Makefile.am: Corrected a couple of spurious tab charactersSteve Holme
Corrected a couple of tab characters between test702 and test703, and between test900 and test901 which should be spaces.
2013-03-10imap: Added test807 for custom request functionality (STORE)Jiri Hruska
2013-03-10imap: Added test806 for IMAP (folder) LIST commandJiri Hruska
2013-03-10imap: Added test805 for APPEND functionalityJiri Hruska
2013-03-10imap: Added test804 for skipping SELECT if in the same mailboxJiri Hruska
2013-03-10imap: Added test802 and test803 for UIDVALIDITY verificationJiri Hruska
Added one test for a request with matching UIDVALIDITY and one which is a mismatched request that will fail.
2013-03-10imap: Added test801 for UID and SECTION URL parametersJiri Hruska
2013-03-10imap-tests: Accept quoted parameters in ftpserver.plJiri Hruska
Any IMAP parameter can come in escaped and in double quotes. Added a simple function to unquote the command parameters and applied it to the IMAP command handlers.
2013-03-10tests: Fix ftpserver.pl indentationJiri Hruska
The whole of FETCH_imap() had one extra space of indentation, whilst APPEND_imap() used indentation of 2 instead of 4 in places.
2013-03-10Makefile.am: Corrected end of line filler characterSteve Holme
The majority of lines, that specify a test file for inclusion, end with a tab character before the slash whilst some end with a space. Corrected those that end with a space to end with a tab character as well.
2013-03-10email-tests: Updated the test data that corresponds to the test numberSteve Holme
Finished segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
2013-03-10email-tests: Renamed the IMAP test to be 800Steve Holme
Continued segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
2013-03-10email-tests: Renamed the SMTP tests to be in the range 900-906Steve Holme
Continued segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
2013-03-10email-tests: Renamed the POP3 tests to be in the range 850-857Steve Holme
Started segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
2013-03-10hiperfifo: updated to use current libevent APIDaniel Stenberg
Patch by: Myk Taylor
2013-03-10imap: Reworked some function descriptionsSteve Holme
2013-03-10imap: Added some missing comments to imap_sendf()Steve Holme
2013-03-09email: Removed hard returns from init functionsSteve Holme
2013-03-09curl_multi_wait: avoid second loop if nothing to doDaniel Stenberg
... hopefully this will also make clang-analyzer stop warning on potentional NULL dereferences (which were false positives anyway).
2013-03-09multi_runsingle: avoid NULL dereferenceDaniel Stenberg
When Curl_do() returns failure, the connection pointer could be NULL so the code path following needs to that that into account. Bug: http://curl.haxx.se/mail/lib-2013-03/0062.html Reported by: Eric Hu
2013-03-09imap: Re-factored all perform based functionsSteve Holme
Standardised the naming of all perform based functions to be in the form imap_perform_something().
2013-03-09examples/getinmemory.c: abort the transfer if not enough memoryCédric Deltheil
No more use exit(3) but instead tell libcurl that no byte has been written to let it return a `CURLE_WRITE_ERROR`. In addition, check curl easy handle return code.
2013-03-09RELEASE-NOTES: synced with ca3c0ed3a9cDaniel Stenberg
8 more bugfixes, one change and a bunch of contributors
2013-03-09Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibilityYang Tse
2013-03-09imap: Added description comments to all perform based functionsSteve Holme
2013-03-09imap: Removed the need for separate custom request functionsSteve Holme
Moved the custom request processing into the LIST command as the logic is the same.
2013-03-09imap: Corrected typo in commentSteve Holme
2013-03-09Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibilityYang Tse
2013-03-09imap: Moved imap_logout() to be grouped with the other perform functionsSteve Holme
2013-03-09email: Updated the function descriptions for the logout / quit functionsSteve Holme
Updated the function description comments following commit 4838d196fdbf.
2013-03-09email: Simplified the logout / quit functionsSteve Holme
Moved the blocking state machine to the disconnect functions so that the logout / quit functions are only responsible for sending the actual command needed to logout or quit. Additionally removed the hard return on failure.
2013-03-08email: Tidied up the *_regular_transfer() functionsSteve Holme
Added comments and simplified convoluted dophase_done comparison.