12772 Commits

Author SHA1 Message Date
Attila Molnar
042cd5e8e6 m_ssl_gnutls Implement corking on GnuTLS 3.1.9 and later to avoid data copies done by sendq flattening 2015-06-06 15:13:31 +02:00
Attila Molnar
d0556a2a59 Call OnStreamSocketWrite() once per write event
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
2015-06-06 14:42:59 +02:00
Attila Molnar
e05c258650 Add max outgoing record size option to sslprofile config 2015-06-06 14:34:28 +02:00
Attila Molnar
1f0485039a Convert all code to use StreamSocket::SendQueue
Let OnStreamSocketWrite see the entire sendq instead of one element at a time
2015-06-06 14:31:05 +02:00
Attila Molnar
0858cdd53c Add class StreamSocket::SendQueue 2015-06-06 14:20:22 +02:00
Attila Molnar
9b9326ff08 Expand module names in ServerConfig::ApplyModules() 2015-06-04 00:03:29 +02:00
Attila Molnar
1e68ff30df Merge pull request #1044 from SaberUK/master+multichar-prefix
Add support for channel alias prefixes with multiple characters.
2015-06-04 00:00:30 +02:00
Peter Powell
3f4bdfaa98 Add support for channel alias prefixes with multiple characters. 2015-06-03 22:27:30 +01:00
Attila Molnar
ab393cf6cf m_silence Change silencelist type to vector 2015-06-03 18:11:17 +02:00
Attila Molnar
dad0eff884 m_silence Remove unused parameters from OnBuildExemptList and rename it 2015-06-03 18:10:02 +02:00
Attila Molnar
0d4facc30a m_callerid Prioritize after other mods for the OnUserPreMessage hook
Issue #1051
2015-06-03 18:00:04 +02:00
Attila Molnar
6b2438f548 Merge pull request #1054 from SaberUK/master+fix-linking-modules
Fix modules with 2+ files not having their LinkerFlags parsed.
2015-06-03 17:46:07 +02:00
Peter Powell
cf94052d8f Fix modules with 2+ files not having their LinkerFlags parsed. 2015-06-03 14:59:08 +01:00
Attila Molnar
61696290a6 Fix incomplete conversion to the new whois system noticed by @SaberUK 2015-06-02 20:05:00 +02:00
Attila Molnar
ffc8101b5f m_spanningtree Log nick collisions more verbosely and in all cases 2015-05-23 15:10:42 +02:00
Attila Molnar
d549fbb7d3 Remove dead code from UserManager::AddUser() 2015-05-22 18:52:15 +02:00
Attila Molnar
df9bd50866 Fix some oversights 2015-05-22 18:49:20 +02:00
Attila Molnar
f449c6b2f0 Update example configuration to say the new style module names everywhere 2015-05-20 15:20:00 +02:00
Attila Molnar
7bb75e575b Allow modules to be called as "foo" instead of "m_foo.so" 2015-05-20 15:02:24 +02:00
Attila Molnar
4881783773 m_spanningtree Fix harmless valgrind warning about uninit var usage on unload 2015-05-19 23:33:07 +02:00
Attila Molnar
8ceae7ec0f Increase entries in valgrind stack traces to 30 (--num-callers) 2015-05-19 23:31:02 +02:00
Attila Molnar
cd268bb2d5 Merge branch 'master+movenames' 2015-05-19 23:10:21 +02:00
Adam
f3513de58a New m_ldap from Anope
Redesign to be more like m_mysql, polling ldap_result from a thread as
done previously is undefined.
2015-05-18 10:11:08 -04:00
The Aviator
79d6ec656d Fixed a build warning
Just a mismatched type, improperly done cast.
2015-05-17 16:54:32 -04:00
Attila Molnar
33137bba44 Move InspIRCd::SendError() to cmd_die
Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message
2015-05-17 18:13:45 +02:00
Attila Molnar
c715182bf8 Move code that quits all users from InspIRCd::Cleanup() to cmd_die 2015-05-17 18:08:49 +02:00
Attila Molnar
b28782c4a3 Fix incorrect iterator use leading to prematurely exiting loops when quitting users while looping the local user list 2015-05-17 18:00:42 +02:00
Attila Molnar
c1757d9126 Merge pull request #1048 from SaberUK/master+ipv6-stats
Encase the IPv6 address in `STATS p` with square brackets.
2015-05-17 17:05:26 +02:00
Peter Powell
a9b2b55b60 Encase the IPv6 address in STATS p with square brackets.
This is a widely used format as without it the port is ambigious.
2015-05-17 12:37:18 +01:00
Attila Molnar
c27122858b cmd_names Do the HasPrivPermission() check only in the NAMES handler 2015-05-16 16:53:21 +02:00
Attila Molnar
930fd98e48 Move Channel::UserList() from core to cmd_names 2015-05-16 16:49:37 +02:00
Attila Molnar
127fe6ed10 Move topic and NAMES sending on join from core into core_channel 2015-05-16 16:40:22 +02:00
Attila Molnar
9fc261d4cd cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function 2015-05-16 16:36:12 +02:00
Attila Molnar
6d51696715 Merge pull request #1024 from SaberUK/master+make-perl-cleanup
Start cleaning up the make/*.pl files.
2015-05-13 16:23:15 +02:00
Peter Powell
01dee272ca Remove run-cc.pl and all associated code.
As far as I can tell this only worked with older versions of GCC
and there is no value in fixing it as diagnostics have improved
since then and it makes errors hard to search for anyway.

This also shaves off an average of five seconds on each build on
my hardware. Neat!
2015-05-13 15:22:44 +01:00
Peter Powell
4b3e466c80 unit-cc: Remove workaround which existed for 2.0.x only. 2015-05-13 15:22:44 +01:00
Peter Powell
953ca72cfe unit-cc: Use the same preamble as other Perl tools. 2015-05-13 15:22:44 +01:00
Peter Powell
70faab99c8 calcdep: Unify coremod and module building code. 2015-05-13 15:22:43 +01:00
Peter Powell
f02e766924 calcdep: Clean up some unused/duplicate variables. 2015-05-13 15:22:43 +01:00
Peter Powell
32b789eec1 calcdep: Use the same preamble as other Perl tools. 2015-05-13 15:22:43 +01:00
Peter Powell
45c048241d calcdep: Remove a workaround for a very old version of BSD Make. 2015-05-13 15:22:43 +01:00
Attila Molnar
06bc8df450 Merge pull request #1041 from SaberUK/master+ipv6-nameserver
Fix IPv6 nameservers not being detected by the resolv.conf parser.
2015-05-13 16:04:52 +02:00
Attila Molnar
cc007f8a3b core_dns Set the TTL of the cache entry to the lowest TTL in a set of ResourceRecords 2015-05-13 00:56:35 +02:00
Attila Molnar
17787004f1 core_dns Only clear the slot of the request if the object in the slot matches what was passed to MyManager::RemoveRequest() 2015-05-13 00:45:19 +02:00
Attila Molnar
c090e54be9 core_dns Add DNS timeout timer in Process() not in DNS::Request constructor 2015-05-13 00:43:00 +02:00
Attila Molnar
d1f028db2b core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header 2015-05-13 00:39:54 +02:00
Attila Molnar
0982b2a582 m_spanningtree Use uint64_t for the burst start time to avoid overflows 2015-05-13 00:26:02 +02:00
Attila Molnar
a6433b3796 m_spanningtree Clean up comments 2015-05-13 00:19:12 +02:00
Attila Molnar
00c0409dd4 Remove support for non-unloadable (VF_STATIC) modules
No module we ship uses this flag and new modules should not use it either to make hotfixing possible
2015-05-12 23:42:20 +02:00
Attila Molnar
f757c2d75b cmd_modules Don't show the memory addresses of Module objects to opers 2015-05-12 23:38:53 +02:00