]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http: remove obsolete comment
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 30 Jan 2025 13:56:11 +0000 (14:56 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 30 Jan 2025 20:52:08 +0000 (21:52 +0100)
In preparation of libhtp rust

src/output-json-http.c

index 0fa6414668e233efd9220b76ac6f0815da538f33..ede48357429c9464e20be0e6a96a91f306e1d97f 100644 (file)
@@ -290,9 +290,7 @@ static void EveHttpLogJSONExtended(JsonBuilder *js, htp_tx_t *tx)
                 (uint32_t)bstr_len(htp_tx_request_protocol(tx)));
     }
 
-    /* response status: from libhtp:
-     * "Response status code, available only if we were able to parse it, HTP_STATUS_INVALID
-     *  otherwise. HTP_STATUS_UNKNOWN until parsing is attempted" .*/
+    /* response status */
     const int resp = htp_tx_response_status_number(tx);
     if (resp > 0) {
         jb_set_uint(js, "status", (uint32_t)resp);