summaryrefslogtreecommitdiff
path: root/src/HttpServer.cc
AgeCommit message (Collapse)Author
2014-06-01Fixing WSAECONNABORTED error, adding cookies support, fixing variables parsing.Nicolas "Pixel" Noble
2013-12-23Apparently, the Connection header can be mixed cases.Nicolas "Pixel" Noble
2013-12-23Few minor fixes...Nicolas "Pixel" Noble
2013-12-21Preliminary WebSocket protocol support.Nicolas "Pixel" Noble
2013-12-20Switching off_t to off64_t.Nicolas "Pixel" Noble
2013-12-20A few more Win32 / VisualStudio fixes.Nicolas "Pixel" Noble
2013-08-13Cleaning up the Handle API a bit.Nicolas "Pixel" Noble
2013-08-02Forgot to pass on the timeout event here.Nicolas Noble
2013-08-02Using SimpleContext in SimpleMustache's setTemplate, as it reads from a ↵Nicolas "Pixel" Noble
Handle using readU8. We'll switch readU8 to use a Future.
2013-01-20Slightly better printf formats for 32 and 64 bits values.Nicolas 'Pixel' Noble
2012-04-13Fixing my constant-strings constructs (Thanks Kurtis!)Nicolas "Pixel" Noble
2012-04-08Redifining yielding for operations a bit, making further refinements.Pixel
2012-04-06Small improvements on the SimpleMustache processor, in order to be able to ↵Pixel
make it const, and to construct template out of constant strings.
2012-04-06Making it simplier to register a task and wait for it. Also renamed ↵Pixel
createTask to registerTask, which makes way more sense.
2012-04-06Stopping the http server now will wait for the listener to stop properly.Pixel
2012-04-03Reworking a bit the way the queues are working, and thus, the way the ↵Pixel
LuaTMainTask queue works.
2012-04-01More code cleanup.Pixel
2012-03-26Further code simplification.Pixel
2012-03-26Simplifying syntax.Pixel
2012-03-08Adding the ScopeLock class to simplify a bit some pieces of code.Pixel
2012-02-28Having a slightly better approach for writing Http responses.Nicolas "Pixel" Noble
2011-12-13Better implementation of RFC 2324.Pixel
2011-12-08Moving the HTTP status messages out of the HTTP server, and into its own ↵Pixel
file. Also making it complete.
2011-12-07Adding more HTTP methods, and properly supporting them, even if it means ↵Pixel
returning a 405 error.
2011-12-05Adding read-write locks, and applying them immediately to the http server.Pixel
2011-12-04Reworked some things in the architecture, mainly exceptions and asserts.Pixel
-) Removed Assert() -) Added AAssert(), IAssert(), RAssert(), TAssert() and Failure() -) Reworked all asserts in the code, and added meaningful messages to them. -) Changed the way the startup code is generated; BALAU_STARTUP is no longer necessary.
2011-11-29(very small) optimization in the error handler of the HTTP server.Pixel
2011-11-29Getting rid of the std::pair; they are ugly as hell.Pixel
2011-11-29Making things a bit more pretty:Pixel
-) Using an actual embedded style sheet within the error document (serifs are evil) -) Changing the ugly `' into `´, at least for the HTML output. -) Adding the title into the error page.
2011-11-29Now using SimpleMustache to render the error messages.Pixel
2011-11-21GeneralException() will now trace the callstack and store this, for ↵Pixel
debugging purposes.
2011-11-19Adding error 500s support.Pixel
2011-11-19Of course, spaces are optionnal...Pixel
2011-11-19Handling more Connection tags, separated with commas; and adding the 'split' ↵Pixel
method to String.
2011-11-18Starting to re-organize the HTTP code a bit. Sharing code between the server ↵Pixel
and a potential client makes sense. Also packing requests and responses into structures / classes is probably a good idea.
2011-11-17Adding a few reasons why we'd get an HTTP 400 error, and fixing the ↵Pixel
Connection header (I hate RFCs, they never mentionned keep-alive in the list of potential headers)
2011-11-17HTTP server's first real test, alongside multiple taskmanager threads.Pixel
I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class. However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template.
2011-11-16Kind of a big revamp of the TaskMan / Task model, in order to introduce a ↵Pixel
TaskScheduler. The idea is that we need to support multiple task managers from multiple threads. So that revamp means we now should be able to support that, except the TaskScheduler needs to implement a round robin system, to distribute tasks across multiple task managers. But at least, the fundamental redesign to permit this is here.
2011-11-16Even if an URI doesn't have variables embedded, it still may contained ↵Pixel
escaped characters.
2011-11-16Adding a simple 'daemon name' for our output.Pixel
2011-11-16Using the new WriteOnly class in the HttpServer, to protect the socket from ↵Pixel
being read, as it needs to go thru the BStream.
2011-11-15Basic POST support done; multipart/form-data is yet to be finalized.Pixel
2011-11-15A bit more work on the HTTP server. Only the parsing of the POST method is ↵Pixel
remaining. Multipart is going to be cumbersome.
2011-11-15The HTTP server now takes advantage of that new parameter of forceRead/Write.Pixel
2011-11-15Adding a potential event to cancel a forced read/write, such as a timeout.Pixel
2011-11-15Fixing a few parsing mistakes.Pixel
2011-11-15Initial parsing of the Http request should now be there.Pixel
2011-11-14Typo.Pixel
2011-11-14Some more basic work on the HTTP server. Some of the main ideas are not ↵Pixel
fleshed up, and writing the actual server should now be sort of straightforward.
2011-11-13Adding the skeleton of an HTTP server; still work in progress though: it ↵Pixel
still needs coding, and won't work as it. And it needs a unit test.