aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
2017-03-28examples/fopen: checksrc complianceJay Satiro
2017-03-26spelling fixesklemens
Closes #1356
2017-03-23asiohiper: make sure socket is open in event_cbEdward Kimmel
Send curl_socket_t to event_cb and make sure it hasn't been closed yet. Closes https://github.com/curl/curl/pull/1318
2017-03-21examples: comment typos in http2 examplesDaniel Stenberg
2017-02-20examples/multi-uv: checksrc complianceJay Satiro
2017-02-18docs: fix timeout handling in multi-uv exampleMichael Kaufmann
2017-02-09examples/multithread.c: link to our multi-thread docsDaniel Stenberg
... instead of the OpenSSL mutex page.
2017-01-18usercertinmem.c: improve the short descriptionDaniel Stenberg
2017-01-08examples: make the C++ examples follow our code style tooDaniel Stenberg
At least mostly, not counting // comments.
2017-01-08asiohiper: improved socket handlingAulddays
libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events and notify back. Modify event_cb() to continue watching events when fired. Fixes #1191 Closes #1192 Fixed-by: Mingliang Zhu
2016-12-18curl_easy_recv: Improve documentation and example programMichael Kaufmann
Follow-up to 82245ea: Fix the example program sendrecv.c (handle CURLE_AGAIN, handle incomplete send). Improve the documentation for curl_easy_recv() and curl_easy_send(). Reviewed-by: Frank Meier Assisted-by: Jay Satiro See https://github.com/curl/curl/pull/1134
2016-12-14checksrc: warn for assignments within if() expressionsDaniel Stenberg
... they're already frowned upon in our source code style guide, this now enforces the rule harder.
2016-12-13checksrc: stricter no-space-before-paren enforcementDaniel Stenberg
In order to make the code style more uniform everywhere
2016-11-24checksrc: move open braces to comply with function declaration styleDaniel Stenberg
2016-11-24checksrc: white space edits to comply to stricter checksrcDaniel Stenberg
2016-11-24checksrc: code style: use 'char *name' styleDaniel Stenberg
2016-11-08examples/fileupload.c: fclose the file as wellDaniel Stenberg
2016-11-07s/cURL/curlDaniel Stenberg
We're mostly saying just "curl" in lower case these days so here's a big cleanup to adapt to this reality. A few instances are left as the project could still formally be considered called cURL.
2016-11-03docs: shorten and simplify the top comment in multi-uv.cDaniel Stenberg
and change URL to use https
2016-11-03docs: handle CURL_POLL_INOUT in multi-uv exampleAndrei Sedoi
2016-11-03docs: multi-uv: don't use CURLMsg after cleanupAndrei Sedoi
2016-11-03docs: remove unused variables in multi-uv exampleAndrei Sedoi
2016-10-27docs: fix req->data in multi-uv exampleAndrei Sedoi
Closes #1088
2016-09-18examples/imap-append: Set size of data to be uploadedJay Satiro
Prior to this commit this example failed with error 'Cannot APPEND with unknown input file size'. Bug: https://github.com/curl/curl/issues/1008 Reported-by: lukaszgn@users.noreply.github.com Closes https://github.com/curl/curl/pull/1011
2016-04-19make/checksrc: use $srcdir, not $top_srcdirDaniel Stenberg
2016-04-18checksrc/makefile.am: use $top_srcdir to find source filesDaniel Stenberg
... to properly support out of source tree builds.
2016-04-03docs/examples: remove spurious white spaces all overDaniel Stenberg
... to please the new, slightly picker, checksrc.pl
2016-03-06curlx.c: use more curl style codeDaniel Stenberg
2016-02-17examples/make: add 'checksrc' targetDaniel Stenberg
2016-02-1710-at-a-time: typecast the argument passed to sleep()Daniel Stenberg
2016-02-17externalsocket.c: fix compiler warning for fwrite return typeDaniel Stenberg
2016-02-17anyauthput.c: fix compiler warningsDaniel Stenberg
2016-02-17simplessl.c: warning: while with spaceDaniel Stenberg
2016-02-17curlx.c: i2s_ASN1_IA5STRING() clashes with an openssl functionDaniel Stenberg
Reported-By: Gisle Vanem
2016-02-11examples: fix some compiler warningsDaniel Stenberg
2016-02-11simplessl.c: fix my breakageDaniel Stenberg
2016-02-11examples: adhere to curl code styleDaniel Stenberg
All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
2016-02-11examples/cookie_interface.c: add cleanup callDaniel Stenberg
cleaning up handles is a good idea as we leak memory otherwise Also, line wrapped before 80 columns.
2016-02-06examples/asiohiper: Avoid function name collision on WindowsGisle Vanem
closesocket => close_socket Winsock already has the former. Bug: https://curl.haxx.se/mail/lib-2016-02/0016.html
2016-02-06examples/htmltitle: Use _stricmp on WindowsGisle Vanem
Bug: https://curl.haxx.se/mail/lib-2016-02/0017.html
2016-02-02URLs: change more http to httpsViktor Szakats
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2016-01-27getredirect.c: fix variable nameDaniel Stenberg
Reported-by: Bernard Spil
2016-01-27examples/Makefile.inc: specify programs without .c!Daniel Stenberg
2016-01-04progressfunc.c: spellfix descriptionDaniel Stenberg
2016-01-04docs/examples/multi-app.c: fix bad desc formattingDaniel Stenberg
2016-01-04examples: added descriptionsDaniel Stenberg
2016-01-04example/simple.c: add descriptionDaniel Stenberg
2016-01-04getredirect.c: a new exampleDaniel Stenberg
2015-12-01docs/examples: gitignore some more built examplesDaniel Stenberg