-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libhtp rs v27.3 #12538
base: master
Are you sure you want to change the base?
Libhtp rs v27.3 #12538
Conversation
In preparation of libhtp rust
In preparation of libhtp rust
ERROR: ERROR: QA failed on build_asan. Pipeline 24648 |
c668c6c
to
dd2e64a
Compare
ERROR: ERROR: QA failed on build_asan. Pipeline 24654 |
dd2e64a
to
6cd5dd1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12538 +/- ##
==========================================
+ Coverage 80.68% 80.71% +0.02%
==========================================
Files 925 925
Lines 258914 258929 +15
==========================================
+ Hits 208914 208987 +73
+ Misses 50000 49942 -58
Flags with carried forward coverage won't be shown. Click here to find out more. |
{ "RESPONSE_FIELD_MISSING_COLON", HTTP_DECODER_EVENT_RESPONSE_FIELD_MISSING_COLON }, | ||
{ "INVALID_REQUEST_CHUNK_LEN", HTTP_DECODER_EVENT_INVALID_REQUEST_CHUNK_LEN }, | ||
{ "INVALID_RESPONSE_CHUNK_LEN", HTTP_DECODER_EVENT_INVALID_RESPONSE_CHUNK_LEN }, | ||
{ "UNKNOWN_ERROR", HTP_LOG_CODE_UNKNOWN }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the change from the HTTP
prefix to HTP
a change that was made in the libhtp Rust conversion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, it is a change that vill be made cf #12508 commit message :
libhtp logging API updated to provide HTP_LOG_CODE constants along with
the message. This eliminates the need to perform string matching on
message text to map log messages to HTTP_DECODER_EVENT values, and the
HTP_LOG_CODE values can be used directly. In support of this,
HTP_DECODER_EVENT values are mapped to their corresponding HTP_LOG_CODE
values:
HTTP_DECODER_EVENT_UNKNOWN_ERROR => HTP_LOG_CODE_UNKNOWN
In preparation of libhtp rust
In preparation of libhtp rust
6cd5dd1
to
0c48705
Compare
Information: QA ran without warnings. Pipeline 24661 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks OK, and clean PR history (no force pushes) may be requested tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK to me, just need a clean PR.
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/2696
Describe changes:
This allow to go one small step further
#12509 next round now focusing on src/app-layer-htp.c