|Felix 9d86c53b47||1 year ago|
|android||3 years ago|
|bin||6 years ago|
|.gitignore||4 years ago|
|.travis.yml||1 year ago|
|CREDITS.txt||6 years ago|
|LICENSE||1 year ago|
|Makefile||4 years ago|
|README.md||1 year ago|
|nanoHttp.c||1 year ago|
|nanoHttp.h||4 years ago|
Really simple, small HTTP server. Designed to act as a primitive HTTP server on my android devices.
For Android-Instructions, visit the Wiki
Some binaries can be found in the bin/ folder. If you need Android binaries, please keep in mind to use the right platform. You may need to compile the sources by your own!
This procedure has been tested on my Cyanogenmod-11.0 Android Tablet. Compiled with
arm-linux-androideabi-gcc (You will need a working Android NDK toolchain)
Compile for Android with
Make sure, the Android-NDK toolchain is installed and available as arm-linux-androideabi-gcc, otherwise modify the Makefile: Replace
and make sure
-static is set in
CC_FLAGS (in the Makefile)
For detailed Install instructions see the Wiki or checkout the
Android-INSTALL file in the android/ folder
Since 0.2 nanoHttp supports POSIX-threads. Each request is forked into a new thread if desired to do so.
You can disable this feature by removing the DEFINE
Since Android NDK supports POSIX-threads, this feature is Android-compatible.
This project is build on the original source from sanos