You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust/htp/src
Jason Ish f0411c079d rust: fix compiler warning for confusing lifetimes
For example:

error: lifetime flowing from input to output with different syntax can be confusing
   --> htp/src/headers.rs:475:16
    |
475 | fn null(input: &[u8]) -> IResult<&[u8], ParsedBytes> {
    |                ^^^^^             -----  ----------- the lifetimes get resolved as `'_`
    |                |                 |
    |                |                 the lifetimes get resolved as `'_`
    |                this lifetime flows to the output
    |
note: the lint level is defined here
   --> htp/src/lib.rs:3:9

This currently only happens when using the Rust nightly compiler, which
we use for our fuzz builds.
2 months ago
..
c_api http1: use a tx iterator 2 months ago
test
bstr.rs
config.rs http: fail tx creation if we cannot allocate user data 3 months ago
connection.rs
connection_parser.rs http1: use a tx iterator 2 months ago
decompressors.rs http1: use a blocking cursor for decompression 2 months ago
error.rs
headers.rs rust: fix compiler warning for confusing lifetimes 2 months ago
hook.rs http: fail tx creation if we cannot allocate user data 3 months ago
lib.rs ci: check cargo fmt for htp 2 months ago
log.rs
parsers.rs rust: fix compiler warning for confusing lifetimes 2 months ago
request.rs http1: brotli decompression 3 months ago
request_generic.rs
response.rs http1: brotli decompression 3 months ago
response_generic.rs
transaction.rs rust: fix compiler warning for confusing lifetimes 2 months ago
transactions.rs http1: use a tx iterator 2 months ago
unicode_bestfit_map.rs
uri.rs
urlencoded.rs
utf8_decoder.rs
util.rs