Wed, 26 Jul 2017 00:00:20 +0300 req: use const char * for cat/tag/feed/fmt members v4.3
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Wed, 26 Jul 2017 00:00:20 +0300] rev 874
req: use const char * for cat/tag/feed/fmt members There is no reason for these to be writable. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tue, 25 Jul 2017 17:49:52 +0300 daemon: remove unused header file
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Tue, 25 Jul 2017 17:49:52 +0300] rev 873
daemon: remove unused header file Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 23 Jul 2017 21:35:22 +0300 req: calculate content length and send Content-Length header
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Sun, 23 Jul 2017 21:35:22 +0300] rev 872
req: calculate content length and send Content-Length header Without it, nginx either buffers the whole request (HTTP/1.0) or uses chunked encoding (HTTP/1.1). Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 09 Jul 2017 18:49:20 +0300 post index: don't use const for struct str
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Sun, 09 Jul 2017 18:49:20 +0300] rev 871
post index: don't use const for struct str Using const makes getting new references from callbacks harder. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 03 Jul 2017 20:30:15 +0300 qstring: propagate character append error to the caller
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 03 Jul 2017 20:30:15 +0300] rev 870
qstring: propagate character append error to the caller If an error occurs, the request fails with a 404. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 03 Jul 2017 20:03:49 +0300 test: add no-value tests
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 03 Jul 2017 20:03:49 +0300] rev 869
test: add no-value tests Make sure that query strings consisting of a long string with no equal sign are parsed. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 03 Jul 2017 19:25:13 +0300 post: avoid calling malloc(0)
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 03 Jul 2017 19:25:13 +0300] rev 868
post: avoid calling malloc(0) If there are no comments, we should just skip adding them to the nvlist instead of trying to add a zero-length nvlist. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 03 Jul 2017 18:34:04 +0300 post: remove dead assignment
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 03 Jul 2017 18:34:04 +0300] rev 867
post: remove dead assignment Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 03 Jul 2017 18:33:16 +0300 tag: initialize return value in case there are no categories
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 03 Jul 2017 18:33:16 +0300] rev 866
tag: initialize return value in case there are no categories Otherwise, we'll return an uninitialized value. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 01 May 2017 13:20:57 -0400 start using STATIC_STR from libjeffpc
Josef 'Jeff' Sipek <jeffpc@josefsipek.net> [Mon, 01 May 2017 13:20:57 -0400] rev 865
start using STATIC_STR from libjeffpc This reduces struct str allocations by 11%! Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
(0) -300 -100 -10 +10 +100 tip