fe2o3_steel/tests/handler_ctx.rs
5 operations, oldest first
created by r1870400018:71570, which is this file's identity for as long as the history lasts, whatever it is later renamed to
read the file · who wrote it · compare two states
An operation carries no clock of its own. Each row is therefore dated by the first mark written after it by the same replica, which is one copy of the repository, and that mark is where the command that wrote the operation ended.
+ signed and verified, ? signed by a key this forge does not carry, - unsigned
| Operation | Author | What | When | |
|---|---|---|---|---|
| + | r1870400018:71570 | replica 1870400018 | created fe2o3_steel/tests/handler_ctx.rs | 40 days ago under "fe2o3_steel: loopback plain-HTTP listener -- loopback_http_port (0 = off) binds 127.0.0.1 and ::1 through srv::loopback::bind_loopback, which refuses any address that is not loopback, and serves every vhost over plain HTTP: handle_https is generic over the stream with a plain flag, takes each request's vhost from its Host header (a host naming none is a 421 as on the TLS port) and sends no HSTS; its connections count in the TLS port's inflight, so max_conn caps both and a stop waits for them. tests/handler_ctx drives it end to end with a prefix handler: a declined GET falls through to www/, ctx.peer is set, ctx.db is None with the vhost database map empty and present once it is filled (the map Steel fills on unseal), PUT and DELETE reach the handler, a 405 with Allow elsewhere, the Host header picks the vhost, no HSTS, and a non-loopback bind is refused" |
| + | r1870400018:71571 | replica 1870400018 | inserted 11.8 KiB | 40 days ago under "fe2o3_steel: loopback plain-HTTP listener -- loopback_http_port (0 = off) binds 127.0.0.1 and ::1 through srv::loopback::bind_loopback, which refuses any address that is not loopback, and serves every vhost over plain HTTP: handle_https is generic over the stream with a plain flag, takes each request's vhost from its Host header (a host naming none is a 421 as on the TLS port) and sends no HSTS; its connections count in the TLS port's inflight, so max_conn caps both and a stop waits for them. tests/handler_ctx drives it end to end with a prefix handler: a declined GET falls through to www/, ctx.peer is set, ctx.db is None with the vhost database map empty and present once it is filled (the map Steel fills on unseal), PUT and DELETE reach the handler, a 405 with Allow elsewhere, the Host header picks the vhost, no HSTS, and a non-loopback bind is refused" |
| + | r1870400018:71923 | replica 1870400018 | inserted 7 bytes | 40 days ago under "fe2o3_steel: a vhost's db_sync_on_write -- a boolean vhost key, default false so every existing vhost opens its store as before, carried on VhostDbSpec to new_db, which now takes the flag and opens Ozone with context::db_config(sync_on_write), the one configuration every vhost store is opened with; a non-boolean value is refused by name; tests/db_sync_on_write.rs reads the key through a JDAT round trip and checks the opened store's sync_on_write both ways (Zoapedia F8)" |
| + | r1870400018:72058 | replica 1870400018 | inserted 42 bytes | 40 days ago under "fe2o3_steel: a vhost's response_headers, and binds_loopback_only -- a vhost map of header name to value set last on every response the vhost sends (a static file, a handler's answer, an error page), each replacing any field of that name, names lower-cased, and a name that is not a token, a value with a line break or NUL, or a framing or state field (content-length, content-type, transfer-encoding, set-cookie and the like) refused when read (VhostConfig::check_response_header); the baseline security headers and the server CSP now fill only a field the response left empty, so a handler's own Referrer-Policy is no longer joined by a laxer second one; ServerConfig::binds_loopback_only says whether every listener binds loopback (server_address is the only non-loopback bind). tests/response_headers.rs covers static, 404 and directory responses, a vhost without the key, the config checks and the loopback test (Zoapedia Z1c)" |
| + | r1870400018:76796 | replica 1870400018 | inserted 40 bytes | 14 days ago under a mark the tool wrote |