aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_websocket.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-5/+6
* Fix using (unsigned) long instead of (s)size_t.Gravatar Sadie Powell2023-01-241-1/+1
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
* Make implementing OnStreamSocketClose optional in middle hooks.Gravatar Sadie Powell2023-01-211-4/+0
* Use the underlying transport method for pinging idle clients.•••Closes #1998. Gravatar Sadie Powell2023-01-211-6/+33
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
* Avoid copying shared_ptr<IOHookProvider> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-271-0/+1
|\
| * Include the WebSocket fail reason in the body of the HTTP response.Gravatar Sadie Powell2022-12-251-0/+1
* | Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-271-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
* | Move aptosa/untosa into the sockaddrs union and add from/from_ip.•••The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values. Gravatar Sadie Powell2022-08-111-9/+6
* | Rename SetClientIP to ChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-041-6/+27
|\|
| * Fix a pedantic C++98 warning in the websocket module.Gravatar Sadie Powell2022-08-041-1/+1
| * Expose WebSocket error messages to clients.Gravatar Sadie Powell2022-08-041-6/+27
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-06-081-1/+1
|\|
| * Fix parsing non-normalised WebSocket headers.•••Ref: #1987. Gravatar Sadie Powell2022-06-081-1/+1
* | Fix a bunch of weird uses of .c_str().Gravatar Sadie Powell2022-01-301-1/+1
* | Kill vendor_directory in favour of normal include paths.Gravatar Sadie Powell2022-01-261-3/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-6/+6
* | Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-11/+11
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-3/+3
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-11-241-6/+14
|\|
| * Make parsing websocket proxy headers more robust.Gravatar Sadie Powell2021-11-241-6/+14
* | Move the websocket protocol name instead of copying it.•••Closes #1929. Gravatar Sadie Powell2021-11-171-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-10-051-1/+3
|\|
| * Fix parsing the Sec-WebSocket-Protocol header.Gravatar Sadie Powell2021-10-041-1/+3
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-4/+6
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-09-231-6/+40
|\|
| * Use CXX11_OVERRIDE instead of the override keyword.Gravatar Sadie Powell2021-09-221-1/+1
| * Replace <websocket:sendastext> with <websocket:defaultmode>.Gravatar Sadie Powell2021-09-221-6/+35
| * Add an API for checking if I/O hooks are ready or not.Gravatar Sadie Powell2021-09-221-0/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-191-13/+48
|\|
| * Implement support for websocket subprotocols.•••This is based on the current IRCv3 draft but using a vendored protocol. Gravatar Sadie Powell2021-08-171-2/+23
| * Minor clean up of the previous commit.Gravatar Sadie Powell2021-08-171-2/+1
| * Improve WebSocket header parsing.Gravatar Sadie Powell2021-08-171-12/+26
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-2/+8
|\|
| * Send 400 Bad Request if a WebSocket client doesn't send an origin.Gravatar Sadie Powell2021-05-071-0/+5
| * Only vendor the bits of utfcpp that we actually use.Gravatar Sadie Powell2021-05-051-2/+3
* | Refactor the Base64 encoding and decoding functions.Gravatar Sadie Powell2021-05-101-1/+1