nanohttpd submodule for supporting local HTTP repos

This webserver is the core of the kerplapp swap local repo when used over
IP connections (WiFi).  It is the smallest Java webserver we could find. It
is included as a git submodule, but then only the actual source files that
are needed are included.  They are symlinked in src/.

The git repo used is the one that we submitted upstream as a pull request.
The pull request contains changes required to support https://.  It has not
yet been accepted, so we cannot yet use the official repo.  Once the pull
request is included, this should be switched to the latest release in the
official git repo.

https://github.com/eighthave/nanohttpd
https://github.com/NanoHttpd/nanohttpd/pull/107

refs #3204 https://dev.guardianproject.info/issues/3204
This commit is contained in:
Hans-Christoph Steiner 2014-05-02 17:03:06 -04:00
parent a89e4143c0
commit db0b106656
7 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View File

@ -10,3 +10,6 @@
path = extern/AndroidPinning
url = http://gitlab.doeg.gy/cpu/androidpinning.git
ignore = dirty
[submodule "extern/nanohttpd"]
path = extern/nanohttpd
url = https://github.com/eighthave/nanohttpd

1
extern/nanohttpd vendored Submodule

@ -0,0 +1 @@
Subproject commit 58f73260ed98df878bae1051dc8e6a0bce842fcb

View File

@ -0,0 +1 @@
../../../../extern/nanohttpd/webserver/src/main/java/fi/iki/elonen/InternalRewrite.java

View File

@ -0,0 +1 @@
../../../../extern/nanohttpd/core/src/main/java/fi/iki/elonen/NanoHTTPD.java

View File

@ -0,0 +1 @@
../../../../extern/nanohttpd/webserver/src/main/java/fi/iki/elonen/ServerRunner.java

View File

@ -0,0 +1 @@
../../../../extern/nanohttpd/webserver/src/main/java/fi/iki/elonen/WebServerPlugin.java

View File

@ -0,0 +1 @@
../../../../extern/nanohttpd/webserver/src/main/java/fi/iki/elonen/WebServerPluginInfo.java