kore/examples/nohttp
Joris Vink c5ce707a91 Introduce build flavors.
Kore applications now get a build.conf which may contain different
build flavors. Each flavor can get its own cflags or ldflags.

This was in parts inspired by #106.

A new cli command has been added:
kore flavor

This command allows you to see all flavors and switch between them.
The kore build command now also takes a -v argument which if given
dumps the used CFLAGS and LDFLAGS out to stdout.

For existing applications the build.conf is automatically generated
next time you run kore build or kore run.

Also fixed a bug in the json_yajl example, sneaky change here.
2016-01-27 21:29:59 +01:00
..
conf Introduce build flavors. 2016-01-27 21:29:59 +01:00
src Allow apps to override connection handling. 2015-12-01 20:55:00 +01:00
.gitignore Introduce NOHTTP=1 build option. 2015-11-27 16:22:50 +01:00
README.md Introduce NOHTTP=1 build option. 2015-11-27 16:22:50 +01:00

README.md

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