aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/http2-serverpush.c
AgeCommit message (Collapse)Author
2019-02-18examples/http2-serverpush: add some sensible error checksDaniel Stenberg
To avoid NULL pointer dereferences etc in the case of problems. Closes #3580
2018-07-09examples: fix -Wformat warningsMarcel Raad
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
2018-05-14examples: Fix format specifiersRikard Falkeborn
Closes #2561
2017-09-11code style: use spaces around plusesDaniel Stenberg
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2017-05-24examples: fix Wimplicit-fallthrough warningsMarcel Raad
This is contained in -Wextra with GCC 7.
2017-03-21examples: comment typos in http2 examplesDaniel Stenberg
2016-12-13checksrc: stricter no-space-before-paren enforcementDaniel Stenberg
In order to make the code style more uniform everywhere
2016-04-03docs/examples: remove spurious white spaces all overDaniel Stenberg
... to please the new, slightly picker, checksrc.pl
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-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-11-21examples: Fixed compilation warningsSteve Holme
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'
2015-07-01examples: provide <DESC> sectionsDaniel Stenberg
2015-06-24http2-serverpush.c: example codeDaniel Stenberg