aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-14CODE_STYLE: Space around operatorsDaniel Stenberg
As just discussed on the mailing list, also document how we prefer spacing in expressions.
2016-03-14curl: glob_range: no need to check unsigned variable for negativeDaniel Stenberg
cppcheck warned: [src/tool_urlglob.c:283]: (style) Checking if unsigned variable 'step_n' is less than zero.
2016-03-14CODE_STYLE: add example for indent style as wellDaniel Stenberg
2016-03-14CODE_STYLE: mention braces for functions tooDaniel Stenberg
2016-03-14docs/Makefile.am: include CODE_STYLE in tarball tooDaniel Stenberg
2016-03-14CONTRIBUTE: moved out code style to a separate documentDaniel Stenberg
2016-03-14CODE_STYLE: initial versionDaniel Stenberg
Ripped out from CONTRIBUTE into its own document, but also extended from there.
2016-03-14curl_sasl.c: minor code indent fixesDaniel Stenberg
2016-03-14multi: simplified singlesocketDaniel Stenberg
Since sh_getentry() now checks for invalid sockets itself and by narrowing the scope of the remove_sock_from_hash variable.
2016-03-14multi: introduce sh_getentry() for looking up sockets in the sockhashDaniel Stenberg
Simplify the code by using a single entry that looks for a socket in the socket hash. As indicated in #712, the code looked for CURL_SOCKET_BAD at some point and that is ineffective/wrong and this makes it easier to avoid that.
2016-03-14multi hash: ensure modulo performed on curl_socket_tJaime Fullaondo
Closes #712
2016-03-13base64: Minor coding standard and style updatesSteve Holme
2016-03-13base64: Use 'CURLcode result' for curl result codesSteve Holme
2016-03-13negotiate: Use 'CURLcode result' for curl result codesSteve Holme
2016-03-13multi_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECTMaksim Kuzevanov
Closes #703
2016-03-13TODO: Use the RFC6265 test suiteDaniel Stenberg
2016-03-13checksrc.bat: Added the ability to scan src and lib source independentlySteve Holme
2016-03-12digest: Use boolean based success code for Curl_sasl_digest_get_pair()Steve Holme
Rather than use a 0 and 1 integer base result code use a TRUE / FALSE based success code.
2016-03-12digest: Corrected some typos in commentsSteve Holme
2016-03-12krb5: Corrected some typos in function descriptionsSteve Holme
2016-03-12ntlm: Corrected some typos in function descriptionsSteve Holme
2016-03-11url: Corrected indentation when calling idna_to_ascii_lz()Steve Holme
2016-03-11idn_win32: Use boolean based success codesSteve Holme
Rather than use 0 and 1 integer base result codes use a FALSE / TRUE based success code.
2016-03-10idn_win32.c: warning: Trailing whitespaceDaniel Stenberg
2016-03-10idn_win32.c: Fixed compilation warning from commit 9e7fcd4291Steve Holme
warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
2016-03-10THANKS-filter: unify Michael KönigDaniel Stenberg
2016-03-10RELEASE-NOTES: synced with 863c5766ddDaniel Stenberg
2016-03-10ftp: remove a check for NULL(!)Daniel Stenberg
... as it implies we need to check for that on all the other variable references as well (as Coverity otherwise warns us for missing NULL checks), and we're alredy making sure that the pointer is never NULL.
2016-03-10cookies: first n/v pair in Set-Cookie: is the cookie, then parametersDaniel Stenberg
RFC 6265 section 4.1.1 spells out that the first name/value pair in the header is the actual cookie name and content, while the following are the parameters. libcurl previously had a more liberal approach which causes significant problems when introducing new cookie parameters, like the suggested new cookie priority draft. The previous logic read all n/v pairs from left-to-right and the first name used that wassn't a known parameter name would be used as the cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be a cookie named 'person' while an RFC 6265 compliant parser should consider that to be a cookie named 'Max-Age' with an (unknown) parameter 'person'. Fixes #709
2016-03-10krb5: improved type handling to avoid clang compiler warningsDaniel Stenberg
2016-03-10url.c: fix clang warning: no newline at end of fileDaniel Stenberg
2016-03-10curl_multi_wait: never return -1 in 'numfds'Daniel Stenberg
Such a return value isn't documented but could still happen, and the curl tool code checks for it. It would happen when the underlying Curl_poll() function returns an error. Starting now we mask that error as a user of curl_multi_wait() would have no way to handle it anyway. Reported-by: Jay Satiro Closes #707
2016-03-09HTTP2.md: add CURL_HTTP_VERSION_2TLS and updated alt-svc linkDaniel Stenberg
2016-03-09curl_multi_wait.3: add exampleDaniel Stenberg
2016-03-08imap/pop3/smtp: Fixed connections upgraded with TLS are not reusedSteve Holme
Regression since commit 710f14edba. Bug: https://github.com/curl/curl/issues/422 Reported-by: Justin Ehlert
2016-03-08opt-docs: fix heading macrosJay Satiro
..SH should be .SH Bug: https://github.com/curl/curl/issues/705 Reported-by: Eric S. Raymond
2016-03-08cookie: do not refuse cookies for localhostTim Rühsen
Closes #658
2016-03-08ftp_done: clear tunnel_state when secondary socket closesDaniel Stenberg
Introducing a function for closing the secondary connection to make this bug less likely to happen again. Reported-by: daboul Closes #701
2016-03-08openssl: use the correct OpenSSL/BoringSSL/LibreSSL in messagesGisle Vanem
2016-03-08HTTP2.md: HTTP/2 by default for curl's HTTPS connectionsDaniel Stenberg
2016-03-08pipeline: Sanity check pipeline pointer before accessing it.Anders Bakken
I got a crash with this stack: curl/lib/url.c:2873 (Curl_removeHandleFromPipeline) curl/lib/url.c:2919 (Curl_getoff_all_pipelines) curl/lib/multi.c:561 (curl_multi_remove_handle) curl/lib/url.c:415 (Curl_close) curl/lib/easy.c:859 (curl_easy_cleanup) Closes #704
2016-03-08HTTP2.md: mention the disable ALPN and NPN optionsDaniel Stenberg
2016-03-07TODO: 17.12 keep running, read instructions from pipe/socketDaniel Stenberg
And delete trailing whitespace And rename section 17 to "command line tool" from "client" Closes #702
2016-03-07README.md: linkifiedDaniel Stenberg
It also makes it less readable as plain text, so let's keep this primarily for github use. Removed the top ascii art logo, as it looks weird when markdownified.
2016-03-07README.md: markdown version of READMEDaniel Stenberg
Attempt to make it look more appealing on github
2016-03-06mprintf: update trio project linkJay Satiro
2016-03-06CURLOPT_ACCEPTTIMEOUT_MS.3: added exampleDaniel Stenberg
2016-03-06CURLOPT_ACCEPT_ENCODING.3: added exampleDaniel Stenberg
2016-03-06CURLOPT_APPEND.3: added exampleDaniel Stenberg
2016-03-06CURLOPT_NOPROGRESS.3: added example, conform to stardard styleDaniel Stenberg