mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Merge branch 'patch-3' of https://github.com/aeppert/bro
* 'patch-3' of https://github.com/aeppert/bro: Add version to HTTP::Info
This commit is contained in:
commit
9431ed3fe9
3 changed files with 17 additions and 1 deletions
12
CHANGES
12
CHANGES
|
@ -1,4 +1,16 @@
|
|||
|
||||
2.4-236 | 2016-01-15 10:35:21 -0800
|
||||
|
||||
* Add HTTP version information to HTTP log file. (Aaron Eppert)
|
||||
|
||||
* Add NOTIFY as a valid SIP message, per RFC 3265. (Aaron Eppert)
|
||||
|
||||
* Let HTTP parser reject requests that don't have both URI and
|
||||
version. (William Glodek)
|
||||
|
||||
* Fix crash when deleting non existing record member. Addresses
|
||||
BIT-1519. (Johanna Amann)
|
||||
|
||||
2.4-228 | 2015-12-19 13:40:09 -0800
|
||||
|
||||
* Updating BroControl submodule.
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.4-228
|
||||
2.4-236
|
||||
|
|
|
@ -41,6 +41,8 @@ export {
|
|||
## misspelled like the standard declares, but the name used here
|
||||
## is "referrer" spelled correctly.
|
||||
referrer: string &log &optional;
|
||||
## Value of the version portion of the request.
|
||||
version: string &log &optional;
|
||||
## Value of the User-Agent header from the client.
|
||||
user_agent: string &log &optional;
|
||||
## Actual uncompressed content size of the data transferred from
|
||||
|
@ -222,6 +224,8 @@ event http_reply(c: connection, version: string, code: count, reason: string) &p
|
|||
|
||||
c$http$status_code = code;
|
||||
c$http$status_msg = reason;
|
||||
c$http$version = version;
|
||||
|
||||
if ( code_in_range(code, 100, 199) )
|
||||
{
|
||||
c$http$info_code = code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue