summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
AgeCommit message (Collapse)Author
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-04-09Improve the logging of the httpd module.Sadie Powell
2020-02-20Fix a memory leak in the httpd module when sockets are closed late.Sadie Powell
2020-02-14Marginally improve the error pages created by httpd and httpd_acl.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-06-24Reset diagnostic pragmas after including external headers (#1661).linuxdaemon
2019-06-10Fix some more warnings in the httpd module.Peter Powell
2019-05-22Add an overload of StreamSocket::Close which closes when all data has been ↵linuxdaemon
written. Fixes sending large pages in m_httpd (#1646).
2019-05-20Fix some warnings in m_httpd on older versions of GCC.Peter Powell
2019-03-14Update most URLs to use HTTPS and fix some dead links.Robby
2019-03-09m_httpd: GCC is __GNUC__ not _GNUC.Peter Powell
2019-03-08m_httpd: use http_response_str() instead of Response().Peter Powell
Lets not reinvent the wheel pointlessly.
2019-03-08Fix an "unknown pragma" warning on Windows.Peter Powell
2019-02-06Expand searching in m_httpd_stats, add global handling of GET parameters (#1566)linuxdaemon
2018-10-26Fix a bunch of harmless compiler warnings on recent GCC releases.Peter Powell
2018-10-06Use nodejs/http_parser instead of a homebrew parser.edef
2018-08-15Merge branch 'insp20' into master.Peter Powell
2018-08-07m_httpd: close the HTTP connection after serving a request.Peter Powell
We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507.
2018-07-24Make more config stuff case insensitive.Peter Powell
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-09-12Get rid of irc::sockets::satoap().Peter Powell
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-08-24Check for errors after calling IOHookProvider::OnAccept()Attila Molnar
2016-08-08Keep multiple IOHookProvider references in class ListenSocketAttila Molnar
This adds the <bind:hook> config option which works together with <bind:ssl>
2016-08-08Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Attila Molnar
module Use it to simplify logic in all modules using or providing IOHooks
2015-05-01m_httpd Fix iteration in OnUnloadModule()Attila Molnar
2015-04-20Merge insp20Attila Molnar
2015-02-11m_httpd Remove now unused variable "claimed"Attila Molnar
2015-02-11Remove unused parameters from HTTPRequest constructorAttila Molnar
2015-02-11Convert the HTTPd request event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the HTTPd ACL event to use the new cross-module event systemAttila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-12-10m_httpd On module unload close all connections hooked by the module being ↵Attila Molnar
unloaded
2014-11-03m_flashpolicyd, m_httpd Store sockets in a intrusive listAttila Molnar
2014-11-03m_flashpolicyd, m_httpd Handle timeouts using the Timer systemAttila Molnar
2014-11-03m_httpd Clean up HttpServerSocket constructorAttila Molnar
2014-11-03m_httpd Remove unused containerAttila Molnar
2014-11-03m_httpd Always timeout connections, set default timeout to 10 secondsAttila Molnar
2014-06-25Add parameter to InspIRCd::TimeString for UTC time formats.Peter Powell
Missing doc added by @attilamolnar
2014-06-25Add formatting to InspIRCd::TimeString; switch all code to use it.Peter Powell
m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-07Merge insp20Attila Molnar
2014-03-25m_httpd Fix typo noticed by @SaberUKAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
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.
2014-01-21Merge insp20Attila Molnar
2014-01-20m_httpd Add timeout option; remove timed out connectionsAttila Molnar
2013-09-09m_httpd Close all open http sockets on unloadattilamolnar