summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPMessage.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-22Fixed HTTP parsing when in insecure mode.Mattes D1-2/+6
Parsing would ignore the size of data already buffered, resulting in bad_alloc exception. Fixes #2898.
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-01-27Replaced atoi() with StringToInteger().Mattes D1-1/+4
2015-01-18Fixed various warnings.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-08-04Refactored case-conversion functions.madmaxoft1-2/+1
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-3/+3
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-05-01Fixed HTTP message parsing, prepared for SSL.madmaxoft1-1/+1
2014-04-01Rewritten HTTPServer to use size_t for data lengths.madmaxoft1-14/+14
2014-01-18HTTP connections aren't kept alive unless explicitly enabled.madmaxoft1-1/+6
Only the client can decide that the connection can be kept alive, we must close the socket if the client doesn't indicate keepalive support. This will provide a fix for #390 when #560 is fixed; until then the issue remains, just it's no longer HTTPServer's fault.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-05WebAdmin uses the new HTTP functionality.madmaxoft1-0/+17
This is a partial implementation of #183.
2013-10-04Added Basic auth support to cHTTPRequest.madmaxoft1-1/+16
2013-10-04HTTP Server can now parse multipart/form-data forms; better architecture.madmaxoft1-121/+77
2013-09-28Created basic cHTTPFormParser.madmaxoft1-0/+1
It can parse forms in the application/x-www-form-urlencoded encoding, used for forms without file uploads.
2013-09-27Added UserData to cHTTPRequest.madmaxoft1-1/+2
Callbacks may store one pointer of per-request data in the cHTTPRequest object. The object doesn't touch this data (doesn't own it).
2013-09-27Fixed parsing and implemented write nofitication.madmaxoft1-6/+10
The web connection finally works with a browser.
2013-09-27Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes.madmaxoft1-0/+285