aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2016-01-04Integrate upstream changes to 2.2.0.android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Daniel Erat
Merge tag 'nanohttpd-project-2.2.0' from https://github.com/NanoHttpd/nanohttpd to add HTTPS support. Bug: 26289868 Change-Id: I6ea26be836ec2682c766127f2fa41f4932557718
2016-01-04Add newFixedLengthResponse() to the NanoHTTPD class.Daniel Erat
This method replaces Response's public constructor in v2.2.0. To avoid temporary breakage, I'm adding an implementation of it so that existing callers can be updated to call it before NanoHTTPD is rolled forward. Bug: 26289868 Change-Id: If68a314f16294e226b223cb35b6c35ca7449a03d
2015-11-15[maven-release-plugin] prepare release nanohttpd-project-2.2.0ritchie
2015-11-03Decode headers before write remote-addrYibai Zhang
The original version will save real IP in headers["remote-addr"] and then write HTTP headers to variable headers. This may cause some security issues. Clients can easily override their real ip by add header 'remote-addr' in http requests.
2015-10-23Merge pull request #238 from Hoeze/masterRichard van Nieuwenhoven
Added ServerSocketFactory to allow custom ServerSockets;
2015-10-21Added more tests; all coverage checks are met now. Hoeze
2015-10-21Added SSLServerSocketFactoryTest;hoelzlwimmerf
Fixed non-static classes and wrong return.
2015-10-18read the encode request header exact fix #240ritchie
2015-10-18Merge remote-tracking branch 'origin/master'hoelzlwimmerf
2015-10-18Added ServerSocketFactory JUnit testhoelzlwimmerf
2015-10-18encoded multipart requests #240ritchie
2015-10-16little imp correction and more test coverage #243ritchie
2015-10-16Fix: strange compilation errorVictor Nike
2015-10-16Unit test - NanoHttpd throws an exception if temp directory doesn't exist #243Victor Nike
2015-10-16Fix: Issue #243 : NanoHttpd throws an exception if temp directory doesn't ↵Victor Nike
exist #243
2015-10-14Merge remote-tracking branch 'origin/master'hoelzlwimmerf
2015-10-12Fix content-length not being parsed as longPhilipp Wiesemann
The method getBodySize() returns a long. Parsing ints limited the range.
2015-10-11Added ServerSocketFactory to allow custom ServerSockets;hoelzlwimmerf
Added recognition of (non-standard) \n\n-headers for more tolerance
2015-10-03adapt minimal test coverage after implementing #204ritchie
2015-10-03easy way to add mime types fix #204ritchie
2015-09-27enable all available protocols as a default #209ritchie
2015-09-27add requested options to the ssl connection #209ritchie
2015-09-15Remove PushBackInputStream.Eric Roth
2015-09-14parent version correctedritchie
2015-09-13Merge branch 'master' into static-new-xxJarno Elonen
2015-09-13Changed ServerRunner to daemon=false. Closes #224Jarno Elonen
2015-09-13small code style correctionritchie
2015-09-13unit tests for ssl support #197ritchie
2015-09-13file upload refactorings and set minimal coverage per module #219 #216ritchie
2015-09-11Merge branch 'vnnv-Nanolets_Condensed_in_a_single_file'ritchie
2015-09-11first refactorings for own module nanolets #223ritchie
2015-09-05correct all poms to same versionritchie
2015-09-04Turned some more functions static, as per #226Jarno Elonen
2015-09-04Fixed a potential CPU cache issue. Closes #229.Jarno Elonen
2015-08-24Issue #214 - NanoHTTPD uri router. Fix pom versionsVictor Nikiforov
2015-08-21Work towards static newXXResponse()sJarno Elonen
2015-08-14Added some HTTP status codes. Closes #220elonen
2015-08-08Added option to start server in non-deamon thread. Closes #212Jarno Elonen
2015-08-08Added filename_hint to temp file manager interaface. Closes #111Jarno Elonen
2015-08-08Moved body length calculation to separate function. Related to issue #217.Jarno Elonen
2015-07-15Added some HTTP methods. Closes #208Jarno Elonen
2015-06-30Added 408 Request Timeout to Status enumluctrudeau
The 408 Request Timeout is the recommended response when performing HTTP Long Polling. https://tools.ietf.org/html/rfc6202#section-5.5 https://tools.ietf.org/html/rfc7231#section-6.5.7 is useful when doing long polling with NanoHTTPD.
2015-06-27Close user provided Response data InputStream even in case of errorMeteorite
2015-06-26Compress mime type text/* by default. Closes #196Jarno Elonen
2015-06-14default of gzip compression set to false, #196ritchie
2015-06-14use ascii encoding to parse the headers, fixes #192ritchie
2015-06-05set transfer encoding to chunked when response is gzip.kira1928
2015-06-04gzip now configuarble and websocket servers turn it default off ritchie
2015-05-25Decouple mem vs. file decision from read buffer sizeJarno Elonen
2015-05-25Use memory buffer instead of file for small requestsJarno Elonen