Rocket/core/lib/src
Sergio Benitez 908a918e8b Fuzz to validate routing collision safety.
The fuzzing target introduced in this commit attemps to assert
"collision safety". Formally, this is the property that:

  matches(request, route) := request is matched to route
  collides(route1, route2) := there is a a collision between routes

  forall requests req. !exist routes r1, r2 s.t.
    matches(req, r1) AND matches(req, r2) AND not collides(r1, r2)

Alternatively:

  forall requests req, routes r1, r2.
    matches(req, r1) AND matches(req, r2) => collides(r1, r2)

The target was run for 20 CPU hours without failure.
2023-04-07 20:27:56 -07:00
..
catcher Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
config Fix a bunch of typos. 2023-03-23 16:27:08 -07:00
data Pin I/O handlers. Allow 'FnOnce' in 'ws' handlers. 2023-04-04 15:33:46 -07:00
fairing Use 'parking_lot' 'Mutex' in fairing's 'Once'. 2023-04-04 15:11:09 -07:00
form Allow specifying 'Status' in custom form errors. 2023-04-05 09:56:49 -07:00
fs Add 'TempFile::open()' to stream its data. 2023-04-05 12:45:48 -07:00
local Allow setting mTLS certificates on local 'Client'. 2023-03-31 11:13:40 -07:00
request Allow dynamic parameters to match empty segments. 2023-04-07 20:00:09 -07:00
response Standardize 'response::status' responders. 2023-04-05 10:51:05 -07:00
route Fuzz to validate routing collision safety. 2023-04-07 20:27:56 -07:00
router Fuzz to validate routing collision safety. 2023-04-07 20:27:56 -07:00
serde New version: 0.5.0-rc.3. 2023-03-23 16:56:17 -07:00
shield Fix a bunch of typos. 2023-03-23 16:27:08 -07:00
cookies.rs Set 'Secure' cookie flag by default under TLS. 2023-04-05 13:15:24 -07:00
error.rs Allow dynamic parameters to match empty segments. 2023-04-07 20:00:09 -07:00
ext.rs Rework TLS listener/connection implementations. 2022-05-03 13:56:25 -07:00
lib.rs Finalize support for external connection upgrades. 2023-03-29 17:06:08 -07:00
log.rs Replace 'atty' with 'is-terminal'. 2023-03-23 14:57:54 -07:00
mtls.rs Rework TLS listener/connection implementations. 2022-05-03 13:56:25 -07:00
outcome.rs Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
phase.rs Improve and clarify 'Rocket' phase docs. 2022-05-04 12:40:20 -07:00
rocket.rs Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
sentinel.rs Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
server.rs Pin I/O handlers. Allow 'FnOnce' in 'ws' handlers. 2023-04-04 15:33:46 -07:00
shutdown.rs Protect graceful shutdown against runaway I/O. 2021-05-31 23:47:52 -07:00
state.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
trip_wire.rs Protect graceful shutdown against runaway I/O. 2021-05-31 23:47:52 -07:00