aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-08-151-0/+1
|\
| * m_httpd: close the HTTP connection after serving a request.•••We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507. Gravatar Peter Powell2018-08-071-0/+1
* | Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
* | Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+4
* | Get rid of irc::sockets::satoap().•••This function is being misused in all but one scenario. It isn't really worth keeping IMO. Gravatar Peter Powell2017-09-121-4/+2
* | Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-1/+1
* | Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-2/+2
* | Check for errors after calling IOHookProvider::OnAccept()Gravatar Attila Molnar2016-08-241-2/+10
* | Keep multiple IOHookProvider references in class ListenSocket•••This adds the <bind:hook> config option which works together with <bind:ssl> Gravatar Attila Molnar2016-08-081-2/+2
* | Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ...•••Use it to simplify logic in all modules using or providing IOHooks Gravatar Attila Molnar2016-08-081-1/+1
* | m_httpd Fix iteration in OnUnloadModule()Gravatar Attila Molnar2015-05-011-1/+1
* | Merge insp20Gravatar Attila Molnar2015-04-201-0/+14
|\|
| * m_httpd On module unload close all connections hooked by the module being unl...Gravatar Attila Molnar2014-12-101-1/+15
* | m_httpd Remove now unused variable "claimed"Gravatar Attila Molnar2015-02-111-3/+0
* | Remove unused parameters from HTTPRequest constructorGravatar Attila Molnar2015-02-111-2/+2
* | Convert the HTTPd request event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-2/+6
* | Convert the HTTPd ACL event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-2/+7
* | Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* | m_flashpolicyd, m_httpd Store sockets in a intrusive listGravatar Attila Molnar2014-11-031-4/+4
* | m_flashpolicyd, m_httpd Handle timeouts using the Timer systemGravatar Attila Molnar2014-11-031-27/+30
* | m_httpd Clean up HttpServerSocket constructorGravatar Attila Molnar2014-11-031-3/+4
* | m_httpd Remove unused containerGravatar Attila Molnar2014-11-031-1/+0
* | m_httpd Always timeout connections, set default timeout to 10 secondsGravatar Attila Molnar2014-11-031-4/+1
* | Add parameter to InspIRCd::TimeString for UTC time formats.•••Missing doc added by @attilamolnar Gravatar Peter Powell2014-06-251-1/+1
* | Add formatting to InspIRCd::TimeString; switch all code to use it.•••m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849 Gravatar Peter Powell2014-06-251-6/+1
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-1/+1
* | Merge insp20Gravatar Attila Molnar2014-04-071-1/+1
|\|
| * m_httpd Fix typo noticed by @SaberUKGravatar Attila Molnar2014-03-251-1/+1
* | Split IOHook into IOHook and IOHookProvider•••Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established. Gravatar Attila Molnar2014-01-221-3/+2
* | Merge insp20Gravatar Attila Molnar2014-01-211-5/+43
|\|
| * m_httpd Add timeout option; remove timed out connectionsGravatar Attila Molnar2014-01-201-1/+31
| * m_httpd Close all open http sockets on unloadGravatar attilamolnar2013-09-091-7/+15
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* | Remove $ModDep commentsGravatar attilamolnar2013-08-151-2/+0
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-1/+0
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-1/+1
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-1/+0
* | Change the API of m_httpd to be dynamic_reference-basedGravatar attilamolnar2013-06-071-9/+22
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-0/+1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-6/+6
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-2/+2
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-3/+1
|/
* Use a better server name in m_httpd.Gravatar Peter Powell2013-01-281-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
* m_httpd Accept POST requests only when the value for Content-Length is greate...Gravatar attilamolnar2012-09-231-1/+1
* Fix undefined behavior caused by referencing the returned buffer by std::stri...•••Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall Gravatar attilamolnar2012-09-231-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+19