Joris Vink
c5f00d3443
Add KTunnel example, an anything-over-HTTPS tunnel using Kore.
2014-09-17 08:53:13 +02:00
Joris Vink
6e6b042388
Add KORE_PGSQL_STATE_WAIT to our example
2014-08-15 12:39:31 +02:00
Joris Vink
8565b47800
Attach tasks/pgsqls to http_requests once more.
...
This way if an http request is removed while tasks or
pgsqls are still active they are free'd out and cancelled
properly.
2014-08-14 22:05:34 +02:00
Joris Vink
0b3c918ba6
Properly check for connection trouble in the pgsql example
2014-08-14 15:13:47 +02:00
Joris Vink
f93747828c
Major pgsql rework.
...
Gone is the ugly KORE_PGSQL macro that hid an overly complex
state machine for the pgsql api.
Gone is the pgsql array that was attached to http_requests.
Gone are the callback hacks inside the pgsql api.
Instead, I strongly encourage people to use the new state machine
api Kore offers to properly deal with asynchronous queries.
The pgsql example in examples/pgsql has been updated to reflect
these changes.
2014-08-14 14:34:23 +02:00
Joris Vink
e0cdc31c73
Take away the reference to the video if we're not streaming
2014-08-12 09:43:19 +02:00
Joris Vink
7349fab13f
Sprinkle kore_snprintf() where appropriate.
2014-08-11 11:02:30 +02:00
Joris Vink
70d9df8896
s/id/user
2014-08-11 11:01:59 +02:00
Joris Vink
1616320490
Add an html5 video streaming example
2014-08-10 19:33:43 +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
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
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
9dbcf5399f
Add headers example
2014-08-04 20:06:59 +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
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
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
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