Commit Graph

1161 Commits

Author SHA1 Message Date
Michael Friedrich a79ea88fff Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:27:22 +01:00
Michael Friedrich a837198bbc Fix unique creation of temp files
fixes #10948
2016-02-23 12:34:38 +01:00
Gunnar Beutner 6e11836791 Add missing comment
refs #10988
2016-02-23 10:50:42 +01:00
Michael Friedrich d1cc56bbaa Only set SSL_OP_NO_COMPRESSION if supported
OpenSSL 0.9.8 does not support this flag.

fixes #10988
2016-02-23 10:50:29 +01:00
Tobias von der Krone ae50334995 Support TLSv1.1 and TLSv1.2 for the cluster transport encryption
From https://wiki.openssl.org/index.php/SSL/TLS_Client:
SSLv23_method specifies the protocols used and behavior of the handshake.
The method essentially means SSLv2 or above, and includes the TLS protocols.
The protocols are further tuned through SSL/TLS options. By using
SSLv23_method (and removing the SSL protocols with SSL_OP_NO_SSLv2 and
SSL_OP_NO_SSLv3), then you will use TLS v1.0 and above, including TLS v1.2.
You will also use a TLS handshake in the TLS Record.

If you use TLSv1_method, then you will only use TLS v1.0.

fixes #10988
2016-02-23 10:50:23 +01:00
Gunnar Beutner 87817bfc8a Implement support for epoll
refs #11014
2016-02-23 10:49:24 +01:00
Jean Flach 3b70bab4d7 Use ConfigWriter class in repositoryutility.cpp
refs #10989
2016-02-23 10:46:20 +01:00
Jean Flach 2052edff9f Refactor String-Escape in repositoryutility
fixes #10989
2016-02-23 10:46:20 +01:00
Jean Flach fd85379f5c Rephrase some log messages
refs #11122
2016-02-23 10:46:19 +01:00
Gunnar Beutner 087ad3fdf4 Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner b227dc77bf Check the certificate name when reconnecting to an instance
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner badeea7604 Decrease memory usage for the Object class
refs #10963
2016-02-23 10:46:13 +01:00
Gunnar Beutner abfacd9e56 Improve debug support for analyzing memory leaks
refs #10963
2016-02-23 09:57:49 +01:00
Jean Flach e80b335edf Plug two memory leaks
refs #10963
2016-02-23 09:57:40 +01:00
Gunnar Beutner 365390b5f0 Build fix for CentOS 5
fixes #11179
2016-02-23 09:51:52 +01:00
Gunnar Beutner 9313373447 Rename the IOTHREADS macro
refs #11014
2016-02-23 09:51:47 +01:00
Jean Flach c1b4a8b757 Remove unused variables
fixes #11111
2016-02-23 09:44:05 +01:00
Gunnar Beutner 0dc6189f47 Build fix
fixes #11096
2016-02-23 09:43:18 +01:00
Michael Friedrich e3373ebfc5 Windows build fix
fixes #11096
2016-02-23 09:41:23 +01:00
Gunnar Beutner 8af6ad74c3 Fix memory leak in Stream::Close
refs #10655
2016-02-23 09:38:24 +01:00
Gunnar Beutner 9a0107d360 Fix memory/thread leak in the HttpServerConnection class
fixes #10655
2016-02-23 09:38:23 +01:00
Gunnar Beutner b6a799d53e Ensure that HttpServerConnections are properly closed
fixes #10655
2016-02-23 09:38:05 +01:00
Michael Friedrich b58ddfb158 Implement String#trim
fixes #11037
2016-02-23 09:35:05 +01:00
Michael Friedrich 9141855454 Fix incorrect --version information
fixes #10784
2016-02-23 09:34:50 +01:00
Gunnar Beutner a2cbe1a0d5 Improve performance for TlsStream::OnEvent
refs #11014
2016-02-23 09:34:20 +01:00
Gunnar Beutner 1fe27e55e9 Use multiple threads for socket IO
refs #11014
2016-02-23 09:33:45 +01:00
Gunnar Beutner 4fdc7042d6 Remove debug log message
refs #11014
2016-02-23 09:33:02 +01:00
Gunnar Beutner d36c3d4066 Avoid unnecessary pollfd updates
refs #11014
2016-02-23 09:33:01 +01:00
Gunnar Beutner 0fbbe620f9 Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner 4565a1fdb8 Fix incorrect memcpy() with overlapping buffers
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner f3ab63b60e Avoid unnecessary new/deletes
refs #11014
2016-02-23 09:32:37 +01:00
Gunnar Beutner fe79c54df6 Avoid unnecessary reallocs in FIFO::Optimize
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 211fc5ad53 Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner d474877add Remove debug output
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 579d0049f3 Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 77abfed873 Avoid updating the file descriptor list for poll() unless we really need to
refs #11014
2016-02-23 09:31:52 +01:00
Michael Friedrich eda28b219d Improve performance for Zone::CanAccessObject
fixes #10711
2016-02-23 09:25:27 +01:00
Michael Friedrich 2bc1d32caa Fix priority ordering for IDO queries
fixes #10829
refs #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner a40fc653ef Implement support for priorities in the WorkQueue class
fixes #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner 2e930826e3 Make sure that all strings in the IDO database are UTF8-encoded
fixes #10554
2016-02-23 09:08:32 +01:00
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Michael Friedrich 833e28025a Fix crash on startup with incorrect directory permissions
fixes #10739
2015-12-08 15:28:51 +01:00
Michael Friedrich 383a6a1334 Fix missing path in mkdir() exception
fixes #10748
2015-12-04 10:17:40 +01:00
Gunnar Beutner 141f255d5b Build fix for Windows
refs #10693
2015-11-26 11:19:33 +01:00
Gunnar Beutner b14a48d519 Implement Platform* global variables
refs #10693
2015-11-26 11:19:32 +01:00
Gunnar Beutner 93c5fc5b82 Use the ZoneName and NodeName constants for 'node setup' and 'node wizard'
refs #10716
2015-11-25 17:44:45 +01:00
Gunnar Beutner d96ee6b417 Build fix for systems where strsignal() returns a const char * 2015-11-24 14:45:51 +01:00
Gunnar Beutner b75aa74cbd Fix crash in Process::IOThreadProc when building Icinga 2 with GCC 4.7.2
fixes #10648
2015-11-17 22:08:05 +01:00
Gunnar Beutner 7d8c8aac5a Use notify_one in WorkQueue::Enqueue
fixes #10639
2015-11-16 08:13:55 +01:00
Gunnar Beutner eb67f3779f Fix incorrect error messages on Windows
fixes #10637
2015-11-15 21:18:27 +01:00