mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 13:09:02 -04:00
This basically turns off the HTTP layer for Kore. It does not compile in anything for HTTP. This allows Kore to be used as a network application platform as well. Added an example for this called nohttp. Other changes that sneaked in while hacking on this: * Use calloc(), kill pendantic malloc option. * Killed off SPDY/3.1 support completely, will be superseded by http2 Note that comes with massive changes to a lot of the core API functions provided by Kore, these might break your application.
291 B
291 B
Kore NOHTTP example
Note that this example only works if Kore was built with NOHTTP=1.
Run:
$ kore run
Test:
Connect to the server using openssl s_client, you will notice
that anything sent is submitted back to your client.
$ openssl s_client -connect 127.0.0.1:8888