summaryrefslogtreecommitdiffstats
path: root/src/HTTP/HTTPServerConnection.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-16Removed all Printf-family functions from StringUtils.Mattes D1-3/+3
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
2020-11-14HTTPServerConnection: more robust error handlingTiger Wang1-21/+18
* Fix passing a nullptr to downstream code when the request was malformed + Reset the connection on errors * Fixes #5029
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2018-01-03Add the fmt library (#4065)peterbell101-1/+1
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-08-02Removed double includes (#3885)Lukas Pioch1-1/+0
2016-03-01Renamed HTTPResponse to HTTPOutgoingResponse.Mattes D1-1/+1
2016-03-01WebAdmin uses the new HTTP parser framework.Mattes D1-131/+93
2016-03-01Renamed HTTPServer folder to HTTP.Mattes D1-0/+0
It contains client code as well.
2016-03-01Moved cHTTPRequest to a separate file, renamed to cHTTPRequestParser.Mattes D1-2/+2
2016-03-01Renamed the HTTP classes to indicate they're for server.Mattes D1-18/+18
2016-02-05Bulk clearing of whitespaceLogicParrot1-5/+5
2015-05-24Made -Weverything an error.tycho1-1/+1
2015-04-19HTTP: Error message is sent as the payload as well.Mattes D1-1/+3
This shows the error message in the browsers. Before, the browsers would display just a blank page.
2015-01-27WebAdmin uses the new cNetwork API.Mattes D1-33/+53
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-08-21Added initializers for class members.Mattes D1-1/+2
As reported by Coverity, these weren't initialized.
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-1/+1
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-05-01Fixed crashes in the SSL HTTP connection.madmaxoft1-7/+7
2014-05-01Fixed HTTP message parsing, prepared for SSL.madmaxoft1-2/+3
2014-04-07Fixed HTTP chunked encoding.madmaxoft1-1/+1
Fixes #858.
2014-04-02Fixed All signedness warnings in HTTPServer.cppTycho1-3/+3
2014-04-02Fixed format string in HTTPConnectionTycho1-1/+1
2014-04-01Rewritten HTTPServer to use size_t for data lengths.madmaxoft1-7/+7
2014-01-19Rewritten SocketThreads for proper shutdown scenario.madmaxoft1-1/+1
This fixes #560 and #390.
2014-01-18HTTP connections aren't kept alive unless explicitly enabled.madmaxoft1-0/+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.
2014-01-06Fixed a few MSVC warnings.madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-06Fixed memory leaks in the HTTP frameworkmadmaxoft1-0/+25
2013-10-05cHTTPConnection sends Content-Length with HTTP errors, too.madmaxoft1-2/+2
2013-10-04Added Basic auth support to cHTTPRequest.madmaxoft1-0/+18
2013-10-04HTTP Server can now parse multipart/form-data forms; better architecture.madmaxoft1-19/+19
2013-09-27Added cHTTPServer callbacks; fixed keep-alives.madmaxoft1-1/+34
The HTTP server now calls callbacks specified in its start function (debugified atm.) and it processes multiple requests on a single connection.
2013-09-27Fixed leaking HTTPRequest objectsmadmaxoft1-0/+2
2013-09-27Fixed parsing and implemented write nofitication.madmaxoft1-2/+24
The web connection finally works with a browser.
2013-09-27Split cHTTPConnection implementation into a separate file.madmaxoft1-124/+4
2013-09-27Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes.madmaxoft1-0/+267