summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahbl...•••This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-2/+2
* Check for nonexistent file•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-091-0/+2
* Mass comment removal.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-6/+0
* Rename all the classes in m_httpd to be HttpServer etc,•••Make a copy of the request in the http client so we dont need to leave pointers hanging around in the requestor module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-32/+32
* Fix m_httpd always crashing in destructor if no active Timeout.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6112 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-251-2/+2
* Remove global namespacing, makes modules compile FASTAH. Also massive update ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-10/+5
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* Tidy up strlens which are not required•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-4/+1
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* And maybe, just maybe, not fuck it up :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5331 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-1/+1
* Allow for multiple <http> tags, each with their own index and bound to their ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-25/+28
* This doesnt really need to be static•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5329 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-1/+1
* Automatically make http request type and http version string uppercase, add c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-171-4/+14
* Fix crash on two objects trying to free each other at the same time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-3/+6
* Fix memory leak too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+1
* Add timeouts to the http module. Two seperate timeouts, 60 seconds to receive...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+40
* Annotations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-1/+5
* Commit all the httpd patches i sneakily put in before 9am at the office :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-1/+2
* Use gmtime() not localtime() as RFC2616 says dates sent by a http server must...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-1/+1
* Remember to change state when sending error 400•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-0/+1
* Send error 400 when content-size is 0 or omitted for POST•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-8/+13
* Fix postdata stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5245 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-55/+40
* Only initialise request type once•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5244 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-3/+6
* Properly read POSTDATA•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5243 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-141-1/+38
* Todo: find out content-length, then read that much data•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-2/+3
* Beginnings of postdata stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5240 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-23/+36
* Note: connect() cant time out for inspsockets in this commit. They'll sit in ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-281-6/+2
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-4/+4
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-3/+3
* Change to use InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+2
* extern time_t TIME -> InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+0
* ConfigReader and FileReader now take InspIRCd* to their constructors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-6/+11
* None of the modules use an extern InspIRCd* any more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+2
* Last of Server:: methods moved to InspIRCd::. Server:: removed.•••This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-4/+3
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+3
* Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are p...•••(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide an InspIRCd* instance to 'attach' the socket to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-4/+6
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+1
* Add VF_SERVICEPROVIDER•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4560 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-271-1/+1
* Allow modules to change the content-type of the document (defaults to text/html)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-2/+8
* Make it not b0rk on empty headers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4336 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-1/+2
* Make var const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4334 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-2/+2
* Stuff for adding extra headers to a response (for Authorization: and Location...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-6/+7
* This works now, m_httpd_stats.so prints 'chickens' on all pages except the index•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-0/+5
* Craq fixing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-1/+4
* Error code stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4329 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-9/+121
* Foulups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4328 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-0/+1
* Craqbusters•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-6/+7
* Event class for m_httpd.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-5/+32