1
0
Commit Graph

11 Commits

Author SHA1 Message Date
madmaxoft
d8229a5531 Added cEnvelopeParser and cMultipartParser. 2013-10-04 13:10:30 +02:00
madmaxoft
58f5ac84ab Added cNameValueParser. 2013-10-04 13:10:30 +02:00
madmaxoft
bb0fb0aa30 Improved the HTTPFormParser code.
No change to the functionality.
2013-09-28 23:02:16 +02:00
madmaxoft
b883a0b514 Fixed recognition of multipart-form-data forms. 2013-09-28 20:06:35 +02:00
madmaxoft
8130e6dd54 Created basic cHTTPFormParser.
It can parse forms in the application/x-www-form-urlencoded encoding, used for forms without file uploads.
2013-09-28 19:30:25 +02:00
madmaxoft
c22ea7efff Added UserData to cHTTPRequest.
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-27 21:38:54 +02:00
madmaxoft
5cf8fc12ae Added cHTTPServer callbacks; fixed keep-alives.
The HTTP server now calls callbacks specified in its start function (debugified atm.) and it processes multiple requests on a single connection.
2013-09-27 21:28:41 +02:00
madmaxoft
8c57c5c1f2 Fixed leaking HTTPRequest objects 2013-09-27 20:48:44 +02:00
madmaxoft
0c3fd5e77d Fixed parsing and implemented write nofitication.
The web connection finally works with a browser.
2013-09-27 20:33:18 +02:00
madmaxoft
d0b9e81795 Split cHTTPConnection implementation into a separate file. 2013-09-27 19:34:46 +02:00
madmaxoft
f4efcb9080 Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes. 2013-09-27 18:14:26 +02:00