Skip to content

Commit 4b7ab17

Browse files
authored
Unexpected Content-Length headers or invalid URLs report errors instead of closing connections (#795)
1 parent 57056a0 commit 4b7ab17

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,15 @@ to be outside the expected range of `[-1, 1]`.
970970
It is recommended to recreate all vector indexes that use the `cosine` metric
971971
after upgrading to v3.12.6 or later.
972972

973+
## Added error reporting for invalid requests
974+
975+
<small>Introduced in: v3.12.6</small>
976+
977+
When _arangod_ parses HTTP requests and encounters an unexpected `Content-Length`
978+
header or an invalid URL, it now sends a response with an error object instead
979+
of closing the connection, e.g. that the URL is corrupt with an HTTP status code
980+
of 400.
981+
973982
## HTTP RESTful API
974983

975984
### JavaScript-based traversal using `/_api/traversal` removed

site/content/3.13/release-notes/version-3.12/incompatible-changes-in-3-12.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,15 @@ to be outside the expected range of `[-1, 1]`.
970970
It is recommended to recreate all vector indexes that use the `cosine` metric
971971
after upgrading to v3.12.6 or later.
972972

973+
## Added error reporting for invalid requests
974+
975+
<small>Introduced in: v3.12.6</small>
976+
977+
When _arangod_ parses HTTP requests and encounters an unexpected `Content-Length`
978+
header or an invalid URL, it now sends a response with an error object instead
979+
of closing the connection, e.g. that the URL is corrupt with an HTTP status code
980+
of 400.
981+
973982
## HTTP RESTful API
974983

975984
### JavaScript-based traversal using `/_api/traversal` removed

0 commit comments

Comments
 (0)