summaryrefslogtreecommitdiffstats
path: root/src/HTTP/HTTPServer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-1/+1
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-1/+1
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-11/+18
* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
2016-08-21WebAdmin: Report opened ports. (#3333)Mattes D1-2/+16
2016-03-01WebAdmin uses the new HTTP parser framework.Mattes D1-102/+5
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-7/+7
2016-03-01Renamed the HTTP classes to indicate they're for server.Mattes D1-10/+10
2016-02-05Bulk clearing of whitespaceLogicParrot1-16/+16
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-2/+2
2015-05-19Fixed a lot of warningstycho1-1/+3
2015-01-27Replaced atoi() with StringToInteger().Mattes D1-2/+2
2015-01-27WebAdmin uses the new cNetwork API.Mattes D1-68/+66
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-09-10Grammar fixes.Alexander Harkness1-2/+2
2014-09-07WebAdmin: Added HTTPS instructions when cert / key is missing.Mattes D1-0/+1
2014-07-18Removed duplicate IPvX labels.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-1/+1
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-07-04MCS WebAdmin sockets rebinds instantlyTiger Wang1-0/+2
* Fixes #272 * Fixes #1150
2014-05-06Fixed an extra space.madmaxoft1-1/+1
2014-05-02WebAdmin outputs a log message about HTTP / HTTPS status.madmaxoft1-18/+31
2014-05-01Renamed cPublicKey to cCryptoKey.madmaxoft1-3/+3
The class can hold both the private key and the public key, bad naming on PolarSSL's part. Also somewhat fixed the cert and key loading in cHTTPServer.
2014-05-01Implemented SSL connection for WebAdmin.madmaxoft1-2/+33
Fixes FS-319.
2014-04-01Rewritten HTTPServer to use size_t for data lengths.madmaxoft1-3/+3
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft1-0/+4
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-06Fixed memory leaks in the HTTP frameworkmadmaxoft1-2/+3
2013-10-06Added proper shutdown to HTTPServer.madmaxoft1-0/+9
2013-10-05WebAdmin uses the new HTTP functionality.madmaxoft1-12/+3
This is a partial implementation of #183.
2013-10-04Added Basic auth support to cHTTPRequest.madmaxoft1-0/+10
2013-10-04HTTP Server can now parse multipart/form-data forms; better architecture.madmaxoft1-2/+20
2013-09-28Fixed recognition of multipart-form-data forms.madmaxoft1-0/+1
2013-09-28Created basic cHTTPFormParser.madmaxoft1-2/+34
It can parse forms in the application/x-www-form-urlencoded encoding, used for forms without file uploads.
2013-09-27Added cHTTPServer callbacks; fixed keep-alives.madmaxoft1-11/+69
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 parsing and implemented write nofitication.madmaxoft1-1/+10
The web connection finally works with a browser.
2013-09-27Split cHTTPConnection implementation into a separate file.madmaxoft1-139/+1
2013-09-27Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes.madmaxoft1-0/+267