summaryrefslogtreecommitdiff
path: root/docs/examples/http2-download.c
Commit message (Collapse)AuthorAgeFilesLines
* docs/examples: do not wait when no transfers are runningKamil Dudka2018-09-101-3/+3
| | | | Closes #2948
* examples: fix -Wformat warningsMarcel Raad2018-07-091-2/+2
| | | | | | | | | When size_t is not a typedef for unsigned long (as usually the case on Windows), GCC emits -Wformat warnings when using lu and lx format specifiers with size_t. Silence them with explicit casts to unsigned long. Closes https://github.com/curl/curl/pull/2721
* examples: Fix format specifiersRikard Falkeborn2018-05-141-3/+3
| | | | Closes #2561
* code style: use spaces around plusesDaniel Stenberg2017-09-111-10/+12
|
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-8/+8
|
* examples: fix Wimplicit-fallthrough warningsMarcel Raad2017-05-241-0/+1
| | | | This is contained in -Wextra with GCC 7.
* examples: declare TU-local variables staticMarcel Raad2017-04-301-2/+2
| | | | | This fixes missing-variable-declarations warnings when building with clang.
* examples: comment typos in http2 examplesDaniel Stenberg2017-03-211-2/+2
|
* checksrc: stricter no-space-before-paren enforcementDaniel Stenberg2016-12-131-1/+1
| | | | In order to make the code style more uniform everywhere
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-6/+5
| | | | | | | | | | 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.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: Fixed compilation warningsSteve Holme2015-11-211-0/+1
| | | | | | | | pop3-multi.c:96:5: warning: implicit declaration of function 'memset' imap-multi.c:96:5: warning: implicit declaration of function 'memset' http2-download.c:226:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset' http2-upload.c:290:5: warning: implicit declaration of function 'memset'
* examples: provide <DESC> sectionsDaniel Stenberg2015-07-011-0/+4
|
* http2-download: check for CURLPIPE_MULTIPLEX properlyDaniel Stenberg2015-06-011-1/+1
| | | | | Bug: http://curl.haxx.se/mail/lib-2015-06/0001.html Reported-by: Rafayel Mkrtchyan
* http2 examples: clean up some commentsDaniel Stenberg2015-05-281-3/+1
|
* examples: added two programs doing multiplexed HTTP/2Daniel Stenberg2015-05-281-0/+290