Gunnar Beutner
7130e5e387
Merge pull request #5264 from Icinga/feature/array-match
...
Implement new array match functionality
fixes #5264
fixes #5263
2017-05-16 14:22:35 +02:00
Gunnar Beutner
958d3982c5
Add 'mode' argument for match, regex and cidr_match
2017-05-16 13:22:10 +02:00
Michael Friedrich
79dcb789c2
Move PerfdataValue() class into base library
...
This is required for libremote and ApiListener stats in #5133
2017-05-15 16:32:29 +02:00
Gunnar Beutner
dc9f129060
Implement the Array#any and Array#all protoype functions
2017-05-15 15:59:44 +02:00
Gunnar Beutner
1b77f4b336
Implement the Dictionary#values prototype function
2017-05-15 15:54:48 +02:00
Alexander A. Klimov
8bf3ab0285
Produce an unknown check result if we failed to kill the process
...
refs #4981
2017-05-12 15:25:22 +02:00
Gunnar Beutner
b366483466
Add subjectAltName X509 ext for certificate requests
2017-05-11 15:38:17 +02:00
Alexander A. Klimov
c45529b407
Report failure to kill check command after exceeding timeout
...
refs #4981
2017-05-05 17:31:14 +02:00
Gunnar Beutner
f9f3358d09
Make sure all objects are set to 'active' before calling the Start() method
...
fixes #5224
2017-05-04 10:37:34 +02:00
Jean Flach
7c70d51b27
Add a few extra log messages
...
fixes #5212
2017-05-02 10:54:06 +02:00
Andreas Scherbaum
775bee8fe1
Replace http:// links with https:// links where a secure website exists
...
Leave out tests and third party tools, and license strings
fixes #5151
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:33:27 +02:00
Gunnar Beutner
0f81c357c0
Implement source_location attribute for the ConfigObject class
...
refs #5120
2017-04-19 15:30:11 +02:00
Michael Friedrich
e4ae789a7c
Set zone attribute to no_user_modify for API POST requests
...
fixes #5166
2017-04-12 09:25:28 +02:00
Gunnar Beutner
0c25d14d0c
Fix crash in SHA1
...
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich
0b466aabc0
Start working on checksum config dump
...
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner
50310fb5bc
Add missing arguments
...
refs #5087
2017-03-28 13:24:21 +02:00
Gunnar Beutner
5d45c74be3
Improve function metadata by adding arguments
...
fixes #5087
2017-03-27 14:43:19 +02:00
Michael Friedrich
bd5ff814f2
Review LogstashWriter feature implementation
...
refs #4054
2017-03-20 14:30:03 +01:00
Kai Goller
f5a971f5b0
Add LogstashWriter feature
...
This adds the UdpSocket class.
refs #4054
2017-03-20 14:30:03 +01:00
Gunnar Beutner
645e260f9b
Make function names available in the API
...
fixes #5064
2017-03-15 11:18:08 +01:00
Sebastian Marsching
118d36f384
Fixed return code check in CRL loading
...
The code for loading CRLs was incorrectly assuming that OpenSSL's
X509_LOOKUP_load_file function returns zero on success, but actually it
returns one on success. This commit fixes this return code check so
that a CRL can be loaded.
fixes #5040
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-28 14:08:24 +01:00
Gunnar Beutner
06c2a4088d
Ensure that only child processes for checks are reniced
...
fixes #4989
2017-02-21 11:31:07 +01:00
Edgar Fuß
1fc6d8c899
Fix for traditional glob(3) behaviour
...
fixes #4778
2017-02-09 09:08:48 +01:00
Edgar Fuß
7414df4ef8
Fix lsb_release/sw_vers errors on NetBSD
...
fixes #4779
2017-02-08 17:47:09 +01:00
Michael Friedrich
763fb64fff
Update issue tracker to GitHub
...
fixes #4923
2017-01-17 16:50:22 +01:00
Gunnar Beutner
060e20f5a3
Clean up the patch for the crash issue in the Process class
...
fixes #13655
2017-01-16 14:15:42 +01:00
Lucas Fairchild-Madar
9fa3f3b122
Fix crash when sending/receiving messages longer than 4 kB to/from the child process for the Process class
...
refs #13655
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-01-16 14:15:39 +01:00
Gunnar Beutner
751ca67e0a
Ignore SIGPIPE earlier in the start-up process
...
fixes #13567
2017-01-12 10:50:43 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
fb8f4105ad
Block SIGPIPE signal for check processes
...
refs #13567
2016-12-15 11:47:07 +01:00
Gunnar Beutner
78fa197b9f
Properly unmask signals for child processes
...
fixes #13269
2016-11-22 13:53:58 +01:00
Gunnar Beutner
f48e99c710
Fix integer truncation in Convert::ToString
...
fixes #12995
2016-11-02 08:42:24 +01:00
Gunnar Beutner
c0bc156696
Don't mask all signals in the subprocess handler
...
fixes #12940
2016-10-24 08:42:40 +02:00
Jean Flach
069de6c121
Don't use InitializeSpawnHelper on Windows
...
refs #8900
2016-10-05 15:10:43 +02:00
Gunnar Beutner
a7b0cb5f7e
Ensure we don't leak file descriptors to child processes
...
fixes #8900
2016-10-04 14:08:48 +02:00
Gunnar Beutner
0df4b4edfb
Fix incorrect #ifdef
...
fixes #12749
2016-09-28 08:30:47 +02:00
Gunnar Beutner
5960753015
Build fix for Windows
...
fixes #12614
2016-09-04 16:53:24 +02:00
Gunnar Beutner
58cdce8d7c
Improve error handling for event filters
...
fixes #12621
2016-09-02 08:51:51 +02:00
Gunnar Beutner
b92a139a4c
Fix incorrect assignment in String::operator=
...
refs #12619
2016-09-02 08:14:46 +02:00
Gunnar Beutner
02442ff36f
Remove unused Value::GetPtr method
...
refs #12619
2016-09-01 15:26:25 +02:00
Gunnar Beutner
b5d4d9aba3
Fix move assignment operator for the String class
...
fixes #12619
2016-09-01 15:25:14 +02:00
Gunnar Beutner
7879c09789
Avoid unnecessary dictionary lookups
...
refs #12555
2016-09-01 07:41:41 +02:00
Gunnar Beutner
06cb3cf875
Another build fix for Windows
...
refs #9182
2016-08-31 13:43:50 +02:00
Gunnar Beutner
2729e98c69
Disable Value&& constructor for the String class on Windows
...
refs #12555
2016-08-31 13:38:55 +02:00
Gunnar Beutner
ba14c6e7ff
Build fix for Windows
...
refs #9182
2016-08-31 13:37:13 +02:00
Gunnar Beutner
54f0cb2c2c
Add another rvalue constructor to the String class
...
refs #12555
2016-08-31 13:27:59 +02:00
Gunnar Beutner
5127a193b4
Avoid unnecessary copies when using Dictionary::Pair in loops
...
refs #12509
2016-08-30 23:01:54 +02:00
Gunnar Beutner
8c50c6f91f
Add context traces to most exceptions
...
fixes #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
68dceaab06
Replace boost::exception_ptr with std::exception_ptr
...
refs #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
dca185a636
Implement support for libcxxabi
...
refs #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
96ee214c57
Add rvalue constructor for the Task class
...
refs #12555
2016-08-29 09:00:12 +02:00
Gunnar Beutner
f12b52f465
Use lambdas in the ConfigItem class
...
refs #12509
2016-08-29 08:16:33 +02:00
Gunnar Beutner
78cd56e277
Implement support for default templates
...
fixes #12575
2016-08-28 10:27:43 +02:00
Gunnar Beutner
ed72112d4b
Remove even more unnecessary copies
...
refs #12509
2016-08-27 20:37:25 +02:00
Gunnar Beutner
ef50c57ed0
Make VS 2013 happy
...
refs #12555
2016-08-27 20:07:48 +02:00
Gunnar Beutner
e8b0797ec4
Use 'auto' keyword for iterator declarations (part 2)
...
refs #12561
2016-08-27 19:56:12 +02:00
Gunnar Beutner
eafe4c578d
Avoid unnecessary copies for the DebugHint class
...
refs #12509
2016-08-27 18:43:14 +02:00
Gunnar Beutner
f1cac2f20a
Fix compatibility with boost <= 1.53
...
refs #12555
2016-08-27 12:43:56 +02:00
Gunnar Beutner
27a23fcff6
Avoid an unnecessary case in the Encode function
...
refs #12509
2016-08-27 12:20:54 +02:00
Gunnar Beutner
00eec13338
Avoid unnecessary string copies in the JSON encoder
...
refs #12509
2016-08-27 11:47:36 +02:00
Gunnar Beutner
170c3624e3
Use 'default' for move constructors
...
refs #12555
2016-08-27 11:39:08 +02:00
Gunnar Beutner
7c273d7748
Add another rvalue constructor for the String class
...
refs #12555
2016-08-27 11:00:04 +02:00
Gunnar Beutner
6e384f81a0
Remove unused #includes
...
refs #12481
2016-08-27 10:59:52 +02:00
Gunnar Beutner
b5b09216c6
Use lambda functions for INITIALIZE_ONCE
...
fixes #12562
2016-08-27 09:48:36 +02:00
Gunnar Beutner
5058c5d75b
Use 'auto' for iterator declarations
...
fixes #12561
2016-08-27 08:37:19 +02:00
Gunnar Beutner
56ba6089d0
Add rvalue support for the Array and Dictionary classes
...
refs #12555
2016-08-27 07:42:28 +02:00
Gunnar Beutner
c1a58446af
Add another rvalue constructor for the Value class
...
refs #12555
2016-08-26 18:11:28 +02:00
Gunnar Beutner
4f46e59af3
Implement an rvalue constructor for the String and Value classes
...
fixes #12555
2016-08-26 09:11:36 +02:00
Gunnar Beutner
49a130242c
Add missing #include in loader.cpp
...
refs #12552
2016-08-25 20:59:22 +02:00
Gunnar Beutner
30762e5330
Set versions for all internal libraries
...
fixes #12552
2016-08-25 17:56:18 +02:00
Gunnar Beutner
092f2ee099
Add missing initializer for WorkQueue::m_NextTaskID
...
fixes #12545
2016-08-25 11:57:00 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner
429d11daa8
Fix compiler warnings
...
fixes #12534
2016-08-24 20:33:34 +02:00
Gunnar Beutner
ae1ab5f865
Implement unit tests for state changes
...
fixes #12530
2016-08-24 19:45:52 +02:00
Gunnar Beutner
218e780a44
Avoid unnecessary string copies
...
fixes #12509
2016-08-23 15:01:40 +02:00
Gunnar Beutner
aeaca5e803
Revert "Fix incorrect detection of the 'Concurrency' variable"
...
This reverts commit 585f0537d2
.
refs #12456
2016-08-19 11:58:52 +02:00
Gunnar Beutner
27e6db6af6
Remove some unused #includes
...
fixes #12481
2016-08-18 15:46:01 +02:00
Gunnar Beutner
62a6d5667d
Fix: IDO marks objects as inactive on shutdown
...
fixes #12418
2016-08-17 19:24:22 +02:00
Gunnar Beutner
585f0537d2
Fix incorrect detection of the 'Concurrency' variable
...
fixes #12456
2016-08-17 09:20:05 +02:00
Rune Darrud
5c0b3c58bd
Do not escape backslashes and separators twice
...
fixes #12227
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-17 06:10:41 +02:00
Gunnar Beutner
162e31b083
Remove unnecessary Dictionary::Contains calls
...
fixes #12457
2016-08-16 22:03:42 +02:00
Gunnar Beutner
ec87b9e795
Use hash-based serial numbers for new certificates
...
fixes #12453
2016-08-16 15:03:01 +02:00
Gunnar Beutner
2d551db9d8
Remove the ConfigTypeIterator class
...
refs #12448
2016-08-16 13:26:24 +02:00
Gunnar Beutner
b7a1b58069
Improve performance for type lookups
...
fixes #12448
2016-08-16 11:02:33 +02:00
Gunnar Beutner
2e8d3d3934
Implement support for incremental IDO updates
...
fixes #12435
2016-08-15 14:43:11 +02:00
Gunnar Beutner
ebaf239d3b
Replace GetType()->GetName() calls with GetReflectionType()->GetName()
...
fixes #12438
2016-08-15 14:42:03 +02:00
Gunnar Beutner
6af9e61e9b
Implement comparison operators for the Array class
...
fixes #12426
2016-08-14 17:21:47 +02:00
Gunnar Beutner
ed53366490
Avoid duplicate IDO config updates at startup
...
fixes #12417
2016-08-13 23:31:22 +02:00
Gunnar Beutner
afc1b9bdc5
Move type variables into the 'Types' namespace
...
refs #12408
2016-08-12 17:05:19 +02:00
Gunnar Beutner
91577713fd
Fix incorrect function name for deprecated functions
...
refs #12408
2016-08-12 15:41:03 +02:00
Gunnar Beutner
b74014fa5e
Fix auto-completion suggestions for "icinga2 console"
...
refs #12408
2016-08-12 15:36:47 +02:00
Gunnar Beutner
12ea2a6445
Implement the System#sleep function
...
fixes #12411
2016-08-12 15:22:10 +02:00
Gunnar Beutner
491acb62ea
Fix crash in ScriptFrame::AddImport
...
refs #12408
2016-08-12 15:22:10 +02:00
Gunnar Beutner
c6a753b67e
Make sure base classes are registered in the right order
...
refs #12408
2016-08-12 14:18:59 +02:00
Gunnar Beutner
24431b3dab
Register deprecated methods in the 'Deprecated' namespace
...
refs #12408
2016-08-12 13:42:22 +02:00
Gunnar Beutner
2a40a71ffa
Change scoping mechanism for the __using keyword
...
refs #12408
2016-08-12 13:14:10 +02:00
Gunnar Beutner
9f67b185b8
Make sure all constructors properly initialize the ScriptFrame object
...
refs #12408
2016-08-12 11:42:59 +02:00
Gunnar Beutner
c5a170a972
Implement support for namespaces
...
fixes #12408
2016-08-12 11:32:16 +02:00
Gunnar Beutner
132ee6c558
Use InterlockedIncrement instead of a mutex in CreatePipeOverlapped
...
refs #10075
2016-08-11 09:48:01 +02:00
Gunnar Beutner
e09fb88cae
Make sure functions are registered with the correct prefix
...
refs #12393
2016-08-10 16:33:17 +02:00
Gunnar Beutner
54bbaf9f7d
Implement support for marking functions as deprecated
...
fixes #12393
2016-08-10 15:48:05 +02:00
Timo Buhrmester
148b4da285
Don't violate POSIX by ensuring that the argument to usleep(3) is less than 1000000
...
fixes #12391
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-10 12:29:52 +02:00
Gunnar Beutner
37bd5ad800
Fix race condition in CreatePipeOverlapped
...
fixes #10075
2016-08-10 12:12:56 +02:00
Gunnar Beutner
39bde8078c
Disallow casting "" to an Object
...
fixes #12390
2016-08-10 11:14:33 +02:00
Gunnar Beutner
e8ae1dc4a6
Include compiler name/version and build host name in --version
...
fixes #12389
2016-08-10 08:09:44 +02:00
Gunnar Beutner
dc06209e4a
Move internal script functions into the 'Internal' namespace
...
fixes #12338
2016-08-10 06:55:44 +02:00
Gunnar Beutner
f3bb628d6e
Improve logging for the WorkQueue class
...
fixes #12336
2016-08-09 12:39:07 +02:00
Gunnar Beutner
4c7e2994a7
Handle I/O errors while writing the Icinga state file more gracefully
...
fixes #12334
2016-08-09 10:59:08 +02:00
Gunnar Beutner
ff293661fc
Rename/Remove experimental script functions
...
fixes #12332
2016-08-09 10:43:55 +02:00
Gunnar Beutner
9f425cdcaf
Fix building Icinga with -fvisibility=hidden
...
fixes #12331
2016-08-09 09:00:19 +02:00
Gunnar Beutner
231fd8d38b
Build fix for CentOS 5
...
refs #11292
2016-08-08 15:27:16 +02:00
Gunnar Beutner
8deeb73bb8
Register a new script frame in Function::Invoke
...
fixes #9848
2016-08-08 14:12:08 +02:00
Uwe Ebel
b2ac05ad7d
Make the minimum TLS protocol version configurable
...
The ApiListener accepts all TLS versions that the underlying
OpenSSL library supports. This patch give the ability to restrict
the connection to a minimum TLS version.
fixes #11292
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-03 07:46:50 +02:00
Gunnar Beutner
546bdbcf6a
'Sandboxed' property isn't properly propagated to child frames
...
refs #12247
2016-07-29 14:11:52 +02:00
Gunnar Beutner
ee75094128
Change how Array#reduce works
...
refs #12247
2016-07-29 11:09:46 +02:00
Gunnar Beutner
a3815e4efd
Add map/reduce and filter functionality for the Array class
...
fixes #12247
2016-07-29 10:48:15 +02:00
Gunnar Beutner
cdda3bad8c
Include client IP address and port in HTTP requests
...
fixes #11706
2016-07-25 09:43:13 +02:00
Stephan Tesch
431c110056
Improve error reporting for the client certificate check
...
Until now, client certificates that have failed verification were reported as not being signed by the CA. That is not true for all cases. This patch adds an explanation in the debug log why verification failed.
fixes #12201
2016-07-25 09:22:35 +02:00
Gunnar Beutner
caf2812f0d
Implement the __ptr function
...
fixes #12205
2016-07-22 09:43:59 +02:00
Michael Friedrich
e712d6ffe7
Fix error message for specified ciphers
...
refs #11063
2016-07-19 20:13:34 +02:00
Uwe Ebel
1ca8b293cb
Make the cipher list configurable for TLS streams
...
fixes #11063
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-18 13:40:00 +02:00
Gunnar Beutner
60c52f2109
Fix crash on Windows
...
fixes #11730
2016-07-12 15:33:44 +02:00
Michael Friedrich
915ebe17cd
ConfigCompiler should not log included files by default
...
fixes #11419
2016-07-05 15:43:48 +02:00
Michael Friedrich
9b873d60c2
Ensure to clear the SSL error queue before calling SSL_{read,write,do_handshake}
...
fixes #12100
2016-07-05 15:25:02 +02:00
Michael Friedrich
85afec8952
Fix setsockopt() error on Windows
...
refs #12003
2016-07-05 13:16:14 +02:00
Gunnar Beutner
6de6ea5e42
Build fix for OpenSSL 1.1.0
...
fixes #12044
2016-06-27 08:28:22 +02:00
Gunnar Beutner
428850a6b3
Fix: ConfigWriter::EmitScope incorrectly quotes dictionary keys
...
fixes #12016
2016-06-22 12:35:47 +02:00
Simon Murray
e3645aa2f7
Fix hanging API connections
...
There was a problem identified where an upstream API connection was found hanging waiting
for a TLS handshake to complete. Seeingly the TCP connection was ESTABLISHED locally but
not cleanly terminated remotely. The Socket events layer never triggered the TLS handshake
oddly. This however enables TCP keep alive packets to detect broken connections, raising
EPOLLERR and breaking the deadlock condition so that the agent will attempt to reconnect
at a later time.
fixes #12003
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:25:00 +02:00
Gunnar Beutner
e3f1c1ec6f
Make sure timestamps are formatted as integers in macro strings
...
refs #11483
2016-06-21 11:29:12 +02:00
Gunnar Beutner
039461e218
Fix unit tests for Convert::ToString
...
refs #11483
2016-06-16 15:32:29 +02:00
Gunnar Beutner
bc6f7d7a21
Fix incorrect formatting for some macro values
...
fixes #11483
2016-06-16 15:14:35 +02:00
Gunnar Beutner
ff57b0ccd6
Add name attribute for the WorkQueue class
...
fixes #10816
2016-06-14 09:08:04 +02:00
Markus Frosch
a5abe1a972
Allow debugging of Utility::GetTime
...
So we can run unit tests that expect a certain behavior based on time.
When Icinga 2 is compiled with I2_DEBUG one can use Utility::SetTime to
override the current system time, and lock it to this value.
fixes #11875
2016-06-09 14:25:51 +02:00
Gunnar Beutner
bc12d6c0d6
Fix race condition in ConfigObject::SetAuthority
...
fixes #11784
2016-05-12 14:06:28 +02:00
Gunnar Beutner
1ad4d9cd27
Report failed reload attempts for the icinga check
...
fixes #9060
fixes #9997
fixes #11129
2016-05-11 16:07:28 +02:00
Gunnar Beutner
fc1168ed3e
Only activate HARunOnce objects once there's a cluster connection
...
fixes #11765
2016-05-11 12:50:40 +02:00
Gunnar Beutner
2adfcb56fe
Improve error handling for TlsStream::Handshake
...
fixes #11046
2016-05-11 10:09:54 +02:00
Gunnar Beutner
eab2fb79ad
Fix crash in UnameHelper()
...
fixes #11714
2016-05-10 09:46:48 +02:00
Gunnar Beutner
b8e911b0e5
Make sure the dependency graph is properly updated when adding and removing objects
...
fixes #11686
fixes #11374
2016-05-09 14:30:12 +02:00
Gunnar Beutner
8b7d59eb34
Implement support for subjectAltName in SSL certificates
...
fixes #11556
2016-04-21 15:25:57 +02:00
Gunnar Beutner
2d55cf1341
Implement validation for the Logger#severity attribute
...
fixes #11646
2016-04-21 13:50:47 +02:00
Gunnar Beutner
22cf939086
Build fix for Windows
...
refs #11612
2016-04-19 14:48:13 +02:00
Gunnar Beutner
d2cd4b6667
Improve performance for locks and value conversions
...
refs #11612
2016-04-19 09:38:22 +02:00
Gunnar Beutner
ab95670833
Build fix for older boost versions
...
refs #11612
2016-04-18 17:21:45 +02:00
Gunnar Beutner
3008d5ef31
Improve performance for field accesses
...
fixes #11612
2016-04-18 17:05:22 +02:00
Gunnar Beutner
955df528d7
Fix error message for the EventEngine variable
...
refs #11522
2016-04-18 15:02:02 +02:00
Gunnar Beutner
d8b0502d67
Make the socket event engine configurable
...
fixes #11522
2016-04-18 14:38:59 +02:00
Gunnar Beutner
327d12295c
Implement support for upgrading NSIS-based installations
...
refs #11449
2016-04-01 08:42:58 +02:00
Gunnar Beutner
6bf3225e84
Implement support for running custom install/uninstall actions
...
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner
112f024810
Build fix for GCC
...
refs #9839
2016-03-29 14:52:48 +02:00
Michael Friedrich
5dd685cef9
Fix socket exceptions while querying the API
...
fixes #11224
2016-03-29 13:52:37 +02:00
Gunnar Beutner
eb0892273e
Implement the DateTime class
...
fixes #9839
2016-03-29 13:27:20 +02:00
Gunnar Beutner
016f47d6e6
Fix Utility::MkDirP on Windows
...
fixes #11455
2016-03-29 09:44:05 +02:00
Gunnar Beutner
796884343b
Another build fix for Win64
...
refs #11462
2016-03-29 08:42:02 +02:00
Gunnar Beutner
b863a84471
Build fix for Win64
...
refs #11462
2016-03-29 07:54:41 +02:00
Gunnar Beutner
6ba0c5fe01
Implement recursion limit for AST expressions which don't use a separate stack frame
...
fixes #11106
2016-03-23 09:03:49 +01:00
Gunnar Beutner
71060be89a
Follow symlinks in Utility::GlobRecursive
...
fixes #11347
2016-03-22 08:22:11 +01:00
Michael Friedrich
65cbf04454
Fix: MkDirP supports '/' and '\' on Windows
...
fixes #10231
2016-03-07 09:22:07 +01:00
Tobias von der Krone
ce3062904f
Use the server's preferred cipher for the API connection
...
When using SSL_OP_CIPHER_SERVER_PREFERENCE the server's preferred cipher
is used instead of the client preference, see
https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_options.html
fixes #11290
2016-03-04 14:57:06 +01:00
Michael Friedrich
d14477c242
Fix MkDirP() on Windows
...
fixes #10231
2016-03-03 15:54:35 +01:00
Gunnar Beutner
47521904c1
Attempt to fix race condition problem with epoll_ctl()
...
refs #11289
2016-03-03 13:38:13 +01:00
Michael Friedrich
47c5425137
Fix permissions for temporary files
...
fixes #11212
fixes #11211
2016-02-24 11:00:44 +01:00
Michael Friedrich
4cb5b97e52
Fix unique creation of temp files
...
fixes #10948
2016-02-23 12:30:59 +01:00
Gunnar Beutner
bc6d82c560
Build fix for CentOS 5
...
fixes #11179
2016-02-22 08:12:35 +01:00
Gunnar Beutner
9a8458fd67
Rename the IOTHREADS macro
...
refs #11014
2016-02-16 13:30:55 +01:00
Jean Flach
58a31e8166
Use ConfigWriter class in repositoryutility.cpp
...
refs #10989
2016-02-09 15:59:19 +01:00
Jean Flach
fa1d633484
Rephrase some log messages
...
refs #11122
2016-02-09 15:59:19 +01:00
Gunnar Beutner
674badd3ce
Build fix
...
fixes #11096
2016-02-09 13:56:17 +01:00
Gunnar Beutner
9e7da9837e
Revert "Windows build fix"
...
This reverts commit f06f6d4d86
.
2016-02-09 13:54:19 +01:00
Jean Flach
4d87c96d06
Refactor String-Escape in repositoryutility
...
fixes #10989
2016-02-09 09:38:12 +01:00
Jean Flach
393a6bf641
Remove unused variables
...
fixes #11111
2016-02-08 17:10:12 +01:00
Michael Friedrich
f06f6d4d86
Windows build fix
...
fixes #11096
2016-02-05 10:55:16 +01:00
Gunnar Beutner
611ff869e1
Implement support for epoll
...
refs #11014
2016-02-04 16:31:59 +01:00
Gunnar Beutner
caf3380e73
Fix memory leak in Stream::Close
...
refs #10655
2016-02-03 13:02:49 +01:00
Gunnar Beutner
2dc385e31b
Fix memory/thread leak in the HttpServerConnection class
...
fixes #10655
2016-02-03 09:54:31 +01:00
Gunnar Beutner
fabf37e79c
Improve performance for TlsStream::OnEvent
...
refs #11014
2016-02-02 13:51:17 +01:00
Gunnar Beutner
532655d482
Use multiple threads for socket IO
...
refs #11014
2016-02-02 11:17:33 +01:00
Gunnar Beutner
3f95e86c73
Remove debug log message
...
refs #11014
2016-02-02 09:54:31 +01:00
Gunnar Beutner
ecfaf019fd
Avoid unnecessary pollfd updates
...
refs #11014
2016-02-02 09:52:23 +01:00
Gunnar Beutner
83889dcbb0
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
...
refs #11014
2016-02-02 08:28:54 +01:00
Gunnar Beutner
e6a972f975
Fix incorrect memcpy() with overlapping buffers
...
refs #11014
2016-02-01 12:58:42 +01:00
Gunnar Beutner
c03e458e13
Avoid unnecessary new/deletes
...
refs #11014
2016-02-01 09:33:33 +01:00
Gunnar Beutner
6fc91a38eb
Avoid unnecessary reallocs in FIFO::Optimize
...
refs #11014
2016-01-28 13:09:17 +01:00
Gunnar Beutner
56e7c24f1f
Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc
...
refs #11014
2016-01-28 13:07:09 +01:00
Gunnar Beutner
fe421d76fb
Remove debug output
...
refs #11014
2016-01-28 12:23:07 +01:00
Gunnar Beutner
4237c6eaaa
Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
...
refs #11014
2016-01-28 11:55:31 +01:00
Gunnar Beutner
75f7fe10e1
Avoid unnecessary wake-ups in SocketEvents::ChangeEvents
...
refs #11014
2016-01-28 09:05:49 +01:00
Gunnar Beutner
3c76e70fe2
Avoid updating the file descriptor list for poll() unless we really need to
...
refs #11014
2016-01-28 08:24:33 +01:00
Michael Friedrich
22c21ebd61
Implement String#trim
...
fixes #11037
2016-01-26 16:01:14 +01:00
Michael Friedrich
627814b8e7
Fix incorrect --version information
...
fixes #10784
2016-01-26 15:17:48 +01:00
Gunnar Beutner
23edd6cb8f
Add missing comment
...
refs #10988
2016-01-26 08:35:29 +01:00
Michael Friedrich
a4562fb433
Only set SSL_OP_NO_COMPRESSION if supported
...
OpenSSL 0.9.8 does not support this flag.
fixes #10988
2016-01-25 14:53:26 +01:00
Tobias von der Krone
1c67bf394c
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-01-20 16:48:00 +01:00
Gunnar Beutner
db0c6ef187
Only build leak detection code when I2_LEAK_DEBUG is set
...
refs #10963
2016-01-19 16:43:46 +01:00
Gunnar Beutner
e4b7111577
Check the certificate name when reconnecting to an instance
...
refs #10963
2016-01-19 16:24:12 +01:00
Gunnar Beutner
b1aa6cc98a
Decrease memory usage for the Object class
...
refs #10963
2016-01-19 16:24:07 +01:00
Gunnar Beutner
d50c8e1085
Improve debug support for analyzing memory leaks
...
refs #10963
2016-01-19 15:24:17 +01:00
Jean Flach
cb70d97dcf
Plug two memory leaks
...
refs #10963
2016-01-15 10:11:52 +01:00
Gunnar Beutner
7f4af89a56
Ensure that HttpServerConnections are properly closed
...
fixes #10655
2016-01-13 10:30:38 +01:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00