aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
Commit message (Expand)AuthorAgeFilesLines
* Slim down the globally included files.Gravatar Sadie Powell2022-04-301-0/+4
* Enable support for UNIX socket listeners on Windows.Gravatar Sadie Powell2022-04-301-2/+0
* Fix a bunch of weird uses of .c_str().Gravatar Sadie Powell2022-01-301-1/+1
* 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
* Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-9/+9
* Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
* Use emplace_back where possible.Gravatar Sadie Powell2021-03-301-2/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-291-1/+1
|\|
| * Make the UNIX socket listener path relative to the runtime path.•••This is not a breaking change because unless the runtime path is explicitly set it defaults to the same as the data path. Gravatar Sadie Powell2021-01-201-1/+1
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-6/+6
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-4/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-191-1/+1
|\|
| * Add HasFd to EventHandler and switch code to use it.Gravatar Sadie Powell2020-02-151-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-4/+10
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-4/+4
|\|
| * Extract port binding code to a function and improve output.Gravatar Peter Powell2019-12-121-2/+2
| * Make BindPorts return size_t instead of int.Gravatar Peter Powell2019-12-091-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-08-091-4/+0
|\|
| * Move UNIX socket removal to ListenSocket ctor.•••Doing the removal in BindPorts() would remove the socket during a rehash and not recreate it. Now it's only removed if it's about to be created. Gravatar Matt Schatz2019-08-011-4/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-5/+23
|\|
| * Various improvements to UNIX socket support.•••- Allow replacing dead UNIX sockets on startup. - Allow setting the permissions of the UNIX socket. - Expand the UNIX socket path relative to the data directory. Gravatar Peter Powell2019-05-301-5/+12
| * Add irc::sockets::isunix for checking if a file is a UNIX socket.Gravatar Peter Powell2019-05-291-0/+11
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-151-5/+20
|\|
| * Fix erroneously limiting to the size of sa instead of sun_path.Gravatar Peter Powell2019-02-071-1/+1
| * Add irc::sockets::untosa() for creating AF_UNIX sockaddrs.•••Also fix an overly long albeit harmless memcpy when creating UNIX socket listeners. Thanks to @psychon for reporting this. Gravatar Peter Powell2019-02-071-6/+13
| * Don't allow invalid characters in UNIX listener paths.Gravatar linuxdaemon2019-02-061-0/+8
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-15/+15
|/
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-1/+1
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-1/+1
* Fix some bugs in cidr_mask::str().•••- Fix a missing break statement causing unintentional fallthrough. - Cast the length to an int to avoid interpreting as a character. Gravatar Peter Powell2018-08-141-1/+2
* Fix building on Windows.Gravatar Peter Powell2018-07-241-1/+3
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-103/+203
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-13/+18
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+4
* Change FailedPortList to store a sockaddrs/int instead of string.Gravatar Peter Powell2017-09-121-1/+1
* Store the server endpoint as a sockaddrs in ListenSocket.Gravatar Peter Powell2017-09-121-4/+3
* 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-7/+0
* Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-4/+4
* Remove InspIRCd::BindSocket()Gravatar Attila Molnar2014-08-041-52/+0
* Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-2/+1
* Merge insp20Gravatar Attila Molnar2014-04-071-2/+0
|\