Gunnar Beutner
6670024f62
Ensure that SetCorked() works properly
2018-03-06 09:35:57 +01:00
Gunnar Beutner
622127276b
Fix incorrect HTTP content length limits
2018-02-28 14:17:17 +01:00
Jean Flach
8b334fe259
Use cork in tlsstream and HTTP connection
2018-02-28 12:57:22 +01:00
Gunnar Beutner
6e7421eab0
Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync
2018-02-28 11:54:48 +01:00
Jean Flach
952e3616e5
Fix incorrect size of request limits
...
refs #6103
2018-02-23 14:44:44 +01:00
Jean Flach
6387f5442e
Move new password functions into tlsutility
2018-02-23 13:06:22 +01:00
Jean Flach
adc054097d
Build/Merge fixes
2018-02-23 10:27:55 +01:00
Jean Flach
c5b92defec
Minor codestyle and doc changes
2018-02-23 10:09:28 +01:00
Noah Hilverling
4b77afedcd
Limit HTTP body size
2018-02-23 10:09:28 +01:00
Noah Hilverling
3fe818b44b
Fix requests not being closed correctly
2018-02-23 10:09:28 +01:00
Jean Flach
70c81734c5
Add timeout for TLS handshakes
2018-02-23 10:09:26 +01:00
Jean Flach
aa1ccd7ada
Authenticate API user before parsing body
2018-02-23 10:08:24 +01:00
Jean Flach
a46dc64e6a
Only read body from authenticated connections
...
This means we are not allowing unauthenticated requests anymore
2018-02-23 09:52:54 +01:00
Jean Flach
e1c46cedd1
Fix nullptr deref
2018-02-23 08:34:10 +01:00
Noah Hilverling
94fe1b2292
HttpServerConnection: Implement CORS support
...
fixes #4326
2017-09-20 13:18:29 +02:00
Michael Friedrich
d74b15d640
Move Base64 class into libbase
...
refs #5538
2017-09-11 16:51:13 +02:00
Alexander A. Klimov
3cc8982053
Unify the JSON structures of responses to authorized and unauthorized requests
...
refs #4984
fixes #4988
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-09 13:51:40 +01:00
Michael Friedrich
363a7f9dac
Fix unauthorized response in REST API when header requests JSON
...
fixes #4984
2017-02-09 09:13:58 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01: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
f4dce0fe72
Fix crash in JsonRpcConnection::MessageHandlerWrapper
...
fixes #12506
2016-08-22 17:42:59 +02:00
Gunnar Beutner
b42bfc822b
Fix crash in HttpServerConnection::ProcessMessageAsync
...
fixes #12493
2016-08-19 20:36:27 +02:00
Gunnar Beutner
cdda3bad8c
Include client IP address and port in HTTP requests
...
fixes #11706
2016-07-25 09:43:13 +02:00
Gunnar Beutner
ff57b0ccd6
Add name attribute for the WorkQueue class
...
fixes #10816
2016-06-14 09:08:04 +02:00
Michael Friedrich
d2f5008557
API: Ensure that empty passwords w/ client_cn are properly checked
...
fixes #11482
2016-04-04 16:38:47 +02:00
Gunnar Beutner
2dc385e31b
Fix memory/thread leak in the HttpServerConnection class
...
fixes #10655
2016-02-03 09:54:31 +01:00
Gunnar Beutner
deac316a45
Fix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler
...
refs #11014
2016-02-01 08:35:55 +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
Gunnar Beutner
a177e5e05a
Change output format for object queries
...
fixes #10551
2015-11-06 14:45:38 +01:00
Michael Friedrich
7e5f5544fc
Require 'Accept' header for API requests (except for GET)
...
fixes #10548
2015-11-05 15:18:53 +01:00
Gunnar Beutner
9c5758958c
Fix crash in JsonRpcClient::DataAvailableHandler
...
fixes #10495
2015-11-02 17:45:44 +01:00
Jean Flach
edfc0e3a38
Update error messages
...
Removes verboseError from httprequest and uses
HttpUtility::GetLastParameter() instead to find out whether verbose
errors are enabled. Also parsing an invalid URL will now not lead to a
stacktrace anymore.
refs #10194
2015-10-27 15:26:19 +01:00
Michael Friedrich
f51a76e13d
Log a warning message on unauthorized http request
...
fixes #10388
2015-10-16 15:32:35 +02:00
Gunnar Beutner
7e4953dd35
Improve log messages for HTTP requests
...
refs #9074
2015-09-30 08:41:09 +02:00
Gunnar Beutner
0e40c3ee1d
Fix deadlock in TlsStream::Close
...
fixes #10235
2015-09-29 10:31:16 +02:00
Gunnar Beutner
425a1a0166
Implement API permissions
...
fixes #9088
2015-09-28 14:30:46 +02:00
Jean-Marcel Flach
5ef4204d06
Improve API error handling and fix some whitespace
...
fixes #10194
2015-09-25 13:57:28 +02:00
Gunnar Beutner
c37a23ccba
Implement the Icinga Studio application
...
fixes #10042
2015-08-31 07:50:01 +02:00