Joris Vink
1ef0f3423b
Bump to spdy/3.1
2014-08-08 14:48:51 +02:00
Joris Vink
5cca2f1f78
properly implement spdy/3.1 flow control
2014-08-08 14:18:15 +02:00
Joris Vink
d2c65b4f62
Change http_response_stream() to only take a base + len
2014-08-07 14:31:45 +02:00
Joris Vink
cda09b6065
Add http_response_stream() which can stream data from a buffer to the client.
2014-08-07 14:23:26 +02:00
Joris Vink
e3ae1b4e2d
Implement some great SPDY improvements.
...
* Bump spdy announcement to the correct draft version
* When receiving a RST, clean out the netbuf chain of that stream
2014-08-07 10:22:54 +02:00
Joris Vink
966ed3d20d
Rename the two functions used to read/set headers.
...
Rename http_request_header_get() to http_request_header().
Rename http_response_header_add() to http_response_header().
2014-08-05 14:26:31 +02:00
Joris Vink
0413de6a8f
fatal if the return value from a page handler isn't what we want.
2014-08-05 14:17:23 +02:00
Joris Vink
b27322933b
The default pid file is kore.pid so no need to set that explicitely
2014-08-05 13:11:53 +02:00
Joris Vink
891f3454ce
Move the default pid file to kore.pid instead of /var/run/kore.pid
2014-08-05 13:10:34 +02:00
Joris Vink
577462379d
Deprecate ssl_no_compression config option, its always on.
2014-08-05 13:07:32 +02:00
Joris Vink
79a736fc16
Add a link to yajl repo
2014-08-04 21:06:35 +02:00
Joris Vink
0c5b0d2288
Add an example that parses JSON via yajl
2014-08-04 21:06:02 +02:00
Joris Vink
b0700162c4
Make http_post_data_bytes() and http_post_data_text() available
2014-08-04 21:03:26 +02:00
Joris Vink
9b3ff7db53
Lowercase the HTTP headers sent in normal HTTP responses.
...
SPDY already had this, as required by the spec.
2014-08-04 20:12:31 +02:00
Joris Vink
9dbcf5399f
Add headers example
2014-08-04 20:06:59 +02:00
Joris Vink
4010bdd58d
Remove kore_cb and its related settings.
...
After revisiting why this exists in Kore I decided it
does not belong in this platform and instead of letting
it sit there staring at me I rather just kill it.
2014-08-04 19:54:32 +02:00
Joris Vink
b3f65ae13f
Add a readme to parameters + update some text
2014-08-04 19:02:23 +02:00
Joris Vink
4a7653f195
Add a parameters example.
...
This example shows how the parameter system in Kore works
and how to use it properly.
2014-08-04 19:00:25 +02:00
Joris Vink
0b36877736
Change kore_buf_appendv() to use vasprintf().
2014-08-04 18:59:59 +02:00
Joris Vink
7b9b1d5c2c
sprinkle more const chars
2014-08-04 12:40:21 +02:00
Joris Vink
31eac77cd2
sprinkle const char where appropriate
2014-08-04 09:48:41 +02:00
Joris Vink
51e1b14271
Do mention we use epoll/kqueue for the less technical readers
2014-08-04 00:12:18 +02:00
Joris Vink
d35bb9837d
update comment in example tasks.c
2014-08-03 21:47:19 +02:00
Joris Vink
850e39fcfb
Add more READMEs
2014-08-03 21:44:14 +02:00
Joris Vink
203fdc139d
Examples are now under examples/
2014-08-03 21:38:07 +02:00
Joris Vink
5c21a120fc
s/hello-world/integers
2014-08-03 20:31:40 +02:00
Joris Vink
8f523ecf0c
Alter readme a bit
2014-08-03 20:30:39 +02:00
Joris Vink
9cba130c4b
Add integers example
2014-08-03 20:29:24 +02:00
Joris Vink
d39246e0e2
static.h -> assets.h
2014-08-03 18:22:12 +02:00
Joris Vink
3bb77bbb9f
Even if we skip files to be built, they still gotta be linked in
2014-08-03 18:18:48 +02:00
Joris Vink
e906aab445
Be careful that f isn't uninitialized
2014-08-03 17:50:04 +02:00
Joris Vink
55b344f1c3
Redo last move, but properly this time
2014-08-03 17:47:29 +02:00
Joris Vink
93fa404470
Move contrib/examples into examples
2014-08-03 17:45:23 +02:00
Joris Vink
ab592d2a59
Move task_curl example to tasks and into the new build framework
2014-08-03 17:44:36 +02:00
Joris Vink
f4f8b1e8b0
Allow users to set ldflags via KORE_LDFLAGS
2014-08-03 17:44:29 +02:00
Joris Vink
ad4ee88e9a
Kill the skeleton folder, needs documentation updates
2014-08-03 17:35:18 +02:00
Joris Vink
2a1aecbaa0
Move pgsql_test into the new build framework
2014-08-03 17:35:03 +02:00
Joris Vink
2b40672ba1
When compiling with PGSQL, note the include dir for "kore build"
2014-08-03 17:33:40 +02:00
Joris Vink
939d948ee2
While coverity passes, the badge annoys me on github
2014-08-03 17:17:55 +02:00
Joris Vink
73b0569fe0
Missing fclose()
2014-08-03 17:17:11 +02:00
Joris Vink
8bcfb6cbb3
Be consistent with the help text
2014-08-03 17:11:02 +02:00
Joris Vink
82420e69b2
Kill generate_certificates.sh
2014-08-03 17:06:42 +02:00
Joris Vink
a477c9a2a3
Move contrib/examples/generic into the new build framework
2014-08-03 16:59:19 +02:00
Joris Vink
93fd33e00e
Big changes to how we handle "static" files.
...
* Rename static files to assets
* static_* has become asset_*
* Always generate asset.h with the right external symbols
2014-08-03 16:55:16 +02:00
Joris Vink
4b0e4c63f8
Correct http_argument_get_string() macro
2014-08-03 16:43:37 +02:00
Joris Vink
380b7dc1d7
Improvement on the cli commands a bit.
...
* kore build will now only rebuild what was changed (checking on
last modified timestamp, not 100% accurate but it'll do).
* introduce kore clean which cleans out object files and the
resulting .so file
2014-08-03 16:36:16 +02:00
Joris Vink
e74921222c
Check if conf/appl.conf exists before continuing with build or run
2014-08-03 15:30:53 +02:00
Joris Vink
f538e92172
Correct typo
2014-08-03 15:22:08 +02:00
Joris Vink
0e2f478c75
Fix http_argument_get_*() integer functions.
2014-08-03 15:20:20 +02:00
Joris Vink
a2897f790c
Better sane defaults for kore build (gen certs + ssl_no_compression)
2014-08-03 15:17:03 +02:00