mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
fix a bug and update baseline
This commit is contained in:
parent
01094bfc43
commit
c2f1c428f0
4 changed files with 19 additions and 18 deletions
|
@ -363,8 +363,7 @@ function start_log_ocsp(http: HTTP::Info)
|
|||
$resp_ts = resp_rec$ts,
|
||||
$resp = resp_rec,
|
||||
$cid = http$id,
|
||||
$cuid = http$uid,
|
||||
$method = http$method];
|
||||
$cuid = http$uid];
|
||||
|
||||
if ( http?$ocsp_requests && cert_id in http$ocsp_requests )
|
||||
{
|
||||
|
@ -377,7 +376,7 @@ function start_log_ocsp(http: HTTP::Info)
|
|||
}
|
||||
else
|
||||
{
|
||||
if ( http$method == "GET" && ! http$checked_get )
|
||||
if ( http?$method && http$method == "GET" && ! http$checked_get )
|
||||
{
|
||||
http$checked_get = T;
|
||||
local req_get: OCSP::Request = check_ocsp_request_uri(http);
|
||||
|
@ -393,6 +392,8 @@ function start_log_ocsp(http: HTTP::Info)
|
|||
}
|
||||
}
|
||||
}
|
||||
if ( http?$method )
|
||||
info_rec$method = http$method;
|
||||
Log::write(LOG, info_rec);
|
||||
}
|
||||
if ( Queue::len(http$ocsp_responses[cert_id]) == 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue