[INFO] cloning repository https://github.com/majksa-dev/rust-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/majksa-dev/rust-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f0f15f2226e0e69e42cb6e14f2eb0cbbb213a17 [INFO] testing majksa-dev/rust-gateway against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] finished tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] tweaked toml for git repo https://github.com/majksa-dev/rust-gateway written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majksa-dev/rust-gateway on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/majksa-dev/rust-gateway already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc5a70f387630da9da866f81a15945fbe9b7759d15a4bbefe85d6d3aa1cdb9fa [INFO] running `Command { std: "docker" "start" "-a" "cc5a70f387630da9da866f81a15945fbe9b7759d15a4bbefe85d6d3aa1cdb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc5a70f387630da9da866f81a15945fbe9b7759d15a4bbefe85d6d3aa1cdb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5a70f387630da9da866f81a15945fbe9b7759d15a4bbefe85d6d3aa1cdb9fa", kill_on_drop: false }` [INFO] [stdout] cc5a70f387630da9da866f81a15945fbe9b7759d15a4bbefe85d6d3aa1cdb9fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ae61ff53b8f9597d359529e04a47b1cf3c45c45b7a8b61ebabbc8427f45dcd7c [INFO] running `Command { std: "docker" "start" "-a" "ae61ff53b8f9597d359529e04a47b1cf3c45c45b7a8b61ebabbc8427f45dcd7c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.06s [INFO] running `Command { std: "docker" "inspect" "ae61ff53b8f9597d359529e04a47b1cf3c45c45b7a8b61ebabbc8427f45dcd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae61ff53b8f9597d359529e04a47b1cf3c45c45b7a8b61ebabbc8427f45dcd7c", kill_on_drop: false }` [INFO] [stdout] ae61ff53b8f9597d359529e04a47b1cf3c45c45b7a8b61ebabbc8427f45dcd7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 6b8d934d382dd622cc54b0ff4b99ae5f1c8b375400d0247d7f2ce553dd8a7706 [INFO] running `Command { std: "docker" "start" "-a" "6b8d934d382dd622cc54b0ff4b99ae5f1c8b375400d0247d7f2ce553dd8a7706", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling rcgen v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling assert_fs v1.1.1 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling parse-display-derive v0.9.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling parse-display v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling docker_credential v1.3.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling bollard-stubs v1.44.0-rc.2 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling test-macros v0.1.5 (https://github.com/majksa-dev/rust-testing-utils?tag=0.1.5#8ee4e3bf) [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling hyperlocal-next v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling wiremock v0.6.1 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bollard v0.16.1 [INFO] [stderr] Compiling testcontainers v0.18.0 [INFO] [stderr] Compiling testing-utils v0.1.5 (https://github.com/majksa-dev/rust-testing-utils?tag=0.1.5#8ee4e3bf) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "6b8d934d382dd622cc54b0ff4b99ae5f1c8b375400d0247d7f2ce553dd8a7706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8d934d382dd622cc54b0ff4b99ae5f1c8b375400d0247d7f2ce553dd8a7706", kill_on_drop: false }` [INFO] [stdout] 6b8d934d382dd622cc54b0ff4b99ae5f1c8b375400d0247d7f2ce553dd8a7706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 563b22441a8b00707fd486129eb998cdce6071ef34503602b2d9573188419828 [INFO] running `Command { std: "docker" "start" "-a" "563b22441a8b00707fd486129eb998cdce6071ef34503602b2d9573188419828", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/http/headers.rs:124:43 [INFO] [stderr] | [INFO] [stderr] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gateway` (lib) generated 1 warning (run `cargo fix --lib -p gateway` to apply 1 suggestion) [INFO] [stderr] warning: `gateway` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/gateway/88114412b8475fbb/deps/gateway-88114412b8475fbb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test gateway::router::param::router::tests::test_add ... ok [INFO] [stdout] test server::app::tests::test_server_builder ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/gateway/73eb01d8c339b939/deps/gateway-73eb01d8c339b939) [INFO] [stdout] [INFO] [stderr] Running tests/auth_basic_server.rs (/opt/rustwide/target/debug/build/gateway/77f28dedeceed2e2/deps/auth_basic_server-77f28dedeceed2e2) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/auth_endpoint_server.rs (/opt/rustwide/target/debug/build/gateway/9999f7c787f5112c/deps/auth_endpoint_server-9999f7c787f5112c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/auth_jwt_server.rs (/opt/rustwide/target/debug/build/gateway/c573fadbd00ba89c/deps/auth_jwt_server-c573fadbd00ba89c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cached_server.rs (/opt/rustwide/target/debug/build/gateway/5e583189aa5c7a59/deps/cached_server-5e583189aa5c7a59) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cors_server.rs (/opt/rustwide/target/debug/build/gateway/a6984d50d1e45241/deps/cors_server-a6984d50d1e45241) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/empty_server.rs (/opt/rustwide/target/debug/build/gateway/b83a29785c350c9e/deps/empty_server-b83a29785c350c9e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2026-01-16T17:17:28.378662Z DEBUG isahc::agent: agent waker listening on 127.0.0.1:59969 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/agent.rs:78 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.378962Z DEBUG isahc::agent: agent took 342.51µs to start up [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/agent.rs:130 [INFO] [stdout] in isahc::agent::agent_thread with port: 59969 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379077Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379657Z DEBUG isahc::handler:  Trying 127.0.0.1:35239... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379789Z DEBUG isahc::handler: connect to 127.0.0.1 port 35239 from 127.0.0.1 port 46896 failed: Connection refused [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379857Z DEBUG isahc::handler: Failed to connect to 127.0.0.1 port 35239 after 0 ms: Couldn't connect to server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379897Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379949Z DEBUG isahc::handler: curl error: [7] Couldn't connect to server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:221 [INFO] [stdout] in isahc::agent::agent_thread with port: 59969 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.379991Z  WARN isahc::handler: request completed with error: ConnectFailed: failed to connect to the server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:274 [INFO] [stdout] in isahc::agent::agent_thread with port: 59969 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380335Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380664Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380730Z DEBUG isahc::handler:  Trying 127.0.0.1:35239... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380830Z DEBUG isahc::handler: connect to 127.0.0.1 port 35239 from 127.0.0.1 port 46904 failed: Connection refused [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380883Z DEBUG isahc::handler: Failed to connect to 127.0.0.1 port 35239 after 0 ms: Couldn't connect to server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380922Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380962Z DEBUG isahc::handler: curl error: [7] Couldn't connect to server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:221 [INFO] [stdout] in isahc::agent::agent_thread with port: 59969 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.380994Z  WARN isahc::handler: request completed with error: ConnectFailed: failed to connect to the server [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:274 [INFO] [stdout] in isahc::agent::agent_thread with port: 59969 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] test tests::should_succeed ... FAILED [INFO] [stdout] 2026-01-16T17:17:28.384506Z DEBUG gateway::server::app: Starting server [INFO] [stdout] at src/server/app.rs:167 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.384682Z DEBUG gateway::http::server: Listening on: 127.0.0.1:35239 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.384720Z DEBUG gateway::http::server: Listening on: 127.0.0.1:45459 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.479786Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.480283Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.480412Z DEBUG isahc::handler:  Trying 127.0.0.1:35239... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.480562Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 35239 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.480773Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46914 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481000Z DEBUG isahc::handler: Connection #2 to host 127.0.0.1 left intact [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:35239/ [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481292Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481403Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481687Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481803Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.481974Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59322 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482046Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59322) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482097Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482283Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482327Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482370Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482420Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482434Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482455Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482633Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482901Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482940Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.482957Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.488083Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.509836Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.509922Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.509971Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.509991Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510011Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510040Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510254Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34076, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510319Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34076, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510649Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34076, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510711Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510741Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510763Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510899Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510951Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.510971Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59322) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.512638Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.512964Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513007Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513190Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513498Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513575Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513708Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513781Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59330 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513858Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59330) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.513921Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514097Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514186Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514252Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514342Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514417Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514464Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.514842Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515110Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515140Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515158Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515581Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515813Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515866Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515900Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515921Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515940Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.515965Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516004Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34078, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516052Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34078, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516413Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34078, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516467Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516512Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516530Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516787Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516834Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.516655Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517002Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517093Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517172Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517179Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59330) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517477Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517554Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517687Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517734Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59346 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517796Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59346) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517820Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517943Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.517981Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.518001Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.518023Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.518035Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.518050Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.518464Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519272Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519305Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519322Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519632Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519782Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519830Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519864Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519883Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519902Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519924Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.519960Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34082, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520004Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34082, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520342Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34082, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520417Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520458Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520471Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520563Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520770Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520804Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520819Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520850Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59346) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520845Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.520985Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521257Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521345Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521491Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521537Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59362 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521607Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59362) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521631Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521751Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521787Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521809Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521831Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521842Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.521857Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.522144Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.522948Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.522979Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.522995Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523259Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523422Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523468Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523503Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523524Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523543Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523576Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523616Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34094, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523659Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34094, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.523951Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34094, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524005Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524050Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524068Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524179Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524353Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524416Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524422Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524452Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59362) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524444Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524581Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524867Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.524947Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525081Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525122Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59370 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525185Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59370) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525208Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525327Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525362Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525404Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525429Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525441Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525456Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.525744Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.526550Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.526592Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.526609Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.526866Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527012Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527057Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527090Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527112Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527133Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527156Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527193Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34096, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527236Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34096, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527628Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34096, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527684Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527728Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527744Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.527858Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528033Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528073Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528081Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528110Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59370) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528103Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528243Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528535Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528622Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528748Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528794Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59386 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528860Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59386) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.528884Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529005Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529039Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529059Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529079Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529091Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529106Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.529410Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530265Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530298Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530315Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530635Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530794Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530844Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530879Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530899Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530919Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530943Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.530982Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34106, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531028Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34106, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531372Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34106, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531444Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531487Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531500Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531753Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531761Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531780Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531807Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531825Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59386) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.531625Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532091Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532369Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532463Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532582Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532636Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59396 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532696Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59396) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532717Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532837Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532873Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532895Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532916Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532927Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.532941Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.533190Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534023Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534055Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534070Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534310Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534460Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534503Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534533Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534552Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534579Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534600Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534634Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34108, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534673Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34108, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534956Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34108, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.534998Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535039Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535052Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535143Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535308Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535350Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535409Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59396) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535409Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535441Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535586Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535879Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.535961Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536097Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536151Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59404 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536210Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59404) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536230Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536338Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536368Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536411Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536431Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536443Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536457Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.536699Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537521Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537548Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537562Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537778Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537903Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537939Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537964Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537980Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.537994Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538012Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538042Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34114, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538075Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34114, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538322Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34114, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538359Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538422Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538437Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538522Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538679Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538719Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538720Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538741Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59404) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538748Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.538884Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539119Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539185Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539293Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539488Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59420 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539541Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59420) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539560Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539689Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539719Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539739Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539755Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539765Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539777Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.539996Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.540650Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.540683Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.540698Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.540945Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541077Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541118Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541146Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541163Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541179Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541199Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541233Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34130, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541271Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34130, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541609Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34130, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541668Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541715Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541731Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.541828Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542034Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542063Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542082Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542094Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542114Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59420) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542238Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542527Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542601Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542727Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542773Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59436 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542834Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59436) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542857Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.542973Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543006Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543028Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543048Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543059Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543073Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.543321Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544166Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544201Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544218Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544510Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544667Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544721Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544761Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544790Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544818Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544843Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544887Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34140, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.544935Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34140, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545127Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34140, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545178Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545224Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545245Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545486Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545526Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545529Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545592Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545354Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545621Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59436) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.545875Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546182Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546263Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546423Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546608Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59446 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546685Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59446) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546720Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546867Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546915Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546947Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546977Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.546999Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547023Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547200Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547510Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547551Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547571Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547685Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547852Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547907Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547946Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.547975Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548002Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548032Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548090Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34148, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548142Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34148, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548442Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34148, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548502Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548526Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548548Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548661Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548711Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548733Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59446) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.548982Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549227Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549265Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549429Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549700Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549775Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.549903Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550081Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59454 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550153Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59454) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550177Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550300Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550336Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550359Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550396Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550420Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550448Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550614Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550900Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550942Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.550959Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551060Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551233Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551290Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551330Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551359Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551406Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551439Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551494Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34164, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551546Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34164, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551853Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34164, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551916Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551947Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.551967Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552078Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552133Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552160Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59454) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552442Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552689Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552730Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.552877Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553152Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553229Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553343Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553537Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59458 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553612Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59458) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553647Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553782Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553841Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553866Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553897Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553918Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.553945Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554110Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554403Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554441Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554458Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554557Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554727Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554784Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554834Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554866Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554895Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554919Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.554977Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34174, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555029Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34174, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555316Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34174, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555397Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555427Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555449Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555560Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555615Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555639Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59458) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.555901Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556140Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556179Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "x-custom": "unique", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556323Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556608Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556681Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556818Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.556996Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59472 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557068Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59472) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557091Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557206Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557250Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557271Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557291Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557303Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557316Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557485Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557651Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557679Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557695Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.557878Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558086Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558142Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558184Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558211Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558231Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558253Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558305Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34182, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558349Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34182, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558635Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34182, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558691Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558714Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558726Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558845Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558893Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.558914Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59472) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559155Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559425Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559463Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559594Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559873Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.559942Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560055Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560223Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59484 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560285Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59484) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560309Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560451Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560493Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560514Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560534Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560546Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560560Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560711Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.560975Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.561005Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.561021Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.561660Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.561990Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562042Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562079Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562102Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562123Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562148Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562334Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34196, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562400Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34196, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562751Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34196, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562801Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562840Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562857Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562938Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.562967Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563012Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563043Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59484) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563161Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563234Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563397Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563624Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563683Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563791Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563908Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59494 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.563973Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59494) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564006Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564495Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564541Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564572Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564825Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564892Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.564915Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.565169Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.565547Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.565833Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.565910Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566085Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566188Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566325Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566413Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566466Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566510Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566557Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566641Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34204, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.566841Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34204, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.567147Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34204, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568423Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568655Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568742Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568786Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568839Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.568997Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.569066Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.569109Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.569210Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59494) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.569407Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.569920Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570052Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570241Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570544Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59498 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570639Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59498) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570749Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.570977Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571060Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571115Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571261Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571327Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571374Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.571617Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572009Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572456Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572534Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572422Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572805Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.572934Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573012Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573091Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573139Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573195Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573264Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34208, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573467Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34208, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.573766Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34208, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574002Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574193Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574269Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574315Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574466Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574655Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574725Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59498) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574777Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.574949Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.575370Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576138Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576364Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576693Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59514 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576678Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576766Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59514) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.576792Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577040Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577127Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577176Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577264Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577305Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577392Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.577631Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.578082Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.578557Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.578631Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.578521Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.578941Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579073Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579198Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579284Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579363Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579472Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579694Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34212, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.579755Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34212, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580065Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34212, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580114Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580156Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580172Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580280Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580271Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580325Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580345Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59514) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580649Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580700Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.580898Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581205Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581300Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581474Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581554Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59526 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581615Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59526) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581639Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581762Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581797Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581819Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581839Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581851Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.581865Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.582192Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583069Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583100Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583116Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583374Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583534Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583577Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583610Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583631Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583652Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583677Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583715Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34228, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.583759Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34228, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584055Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34228, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584109Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584161Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584182Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584342Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584474Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584621Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584671Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59526) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584529Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584709Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.584919Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585236Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585369Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585583Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585634Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59542 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585791Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59542) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.585876Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586045Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586211Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586312Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586401Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586451Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586501Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.586827Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.587773Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588118Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588188Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588084Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588459Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588573Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588672Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588750Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588818Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588894Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.588975Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34244, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.589199Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34244, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.589600Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34244, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.589704Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.589801Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.589869Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590087Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590275Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590299Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590112Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590514Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59542) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590606Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.590836Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591114Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591193Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591320Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591456Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59544 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591602Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59544) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591694Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591858Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591937Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.591984Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.592067Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.592106Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.592194Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.592541Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.592900Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593281Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593352Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593247Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593656Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593760Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593856Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.593965Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.594043Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.594121Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.594219Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34258, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.594407Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34258, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.594914Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34258, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595027Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595126Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595195Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595241Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595441Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595517Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595560Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595541Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595697Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59544) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.595723Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596091Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596174Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596313Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596358Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59548 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596432Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59548) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596455Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596580Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596615Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596637Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596656Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596668Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596682Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.596839Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597083Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597113Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597129Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597616Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597750Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597791Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597820Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597839Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597858Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597879Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597913Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34274, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.597951Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34274, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598316Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34274, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598368Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598431Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598448Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598524Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598747Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598792Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598831Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598882Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598909Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59548) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.598951Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599204Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599288Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599446Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599497Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59558 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599669Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59558) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599747Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.599921Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600007Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600057Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600138Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600178Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600247Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.600570Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.601547Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.601717Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.601871Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602080Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602284Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602426Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602521Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602645Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.602727Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.604418Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.604625Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34276, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.604785Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34276, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605198Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34276, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605295Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605400Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605457Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605621Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605709Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605781Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59558) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605723Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605784Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.605881Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.606348Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.606830Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.606985Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607257Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607284Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59570 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607586Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59570) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607649Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607810Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607892Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607937Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.607979Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.608019Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.608055Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.608241Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.608749Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609063Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609122Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609031Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609343Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609470Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609544Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609595Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609641Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609692Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609867Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34282, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.609958Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34282, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.610262Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34282, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.610559Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.610759Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.610842Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611177Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611347Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611015Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611478Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "x-custom": "unique", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611686Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611780Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.611860Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59570) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612277Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612418Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612620Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59572 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612716Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59572) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612742Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.612849Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613032Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613069Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613091Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613110Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613123Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613136Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.613296Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614018Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614281Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614298Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614248Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614466Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614517Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614548Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614567Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614587Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614609Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614644Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34298, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.614684Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34298, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615302Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34298, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615356Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615394Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615408Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615517Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615559Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615575Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59572) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615783Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.615990Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616017Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616139Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616402Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616464Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616586Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616746Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59580 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616808Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59580) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616833Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616949Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.616983Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617003Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617021Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617033Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617047Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617207Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617473Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617512Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617528Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.617884Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618036Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618081Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618113Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618134Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618155Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618177Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618334Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34312, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618403Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34312, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618683Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34312, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618736Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618760Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618773Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618879Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618923Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.618940Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59580) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619158Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619372Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619411Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619543Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619789Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619848Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.619956Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620110Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59594 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620166Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59594) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620190Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620304Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620337Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620356Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620392Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620407Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620420Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620571Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620800Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620828Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.620844Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621186Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621328Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621372Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621427Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621449Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621470Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621501Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621652Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34328, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621701Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34328, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.621965Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34328, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622016Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622038Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622050Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622151Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622195Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622217Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59594) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622450Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622657Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622683Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.622804Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623046Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623104Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623208Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623361Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59606 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623432Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59606) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623454Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623582Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623616Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623636Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623653Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623665Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623680Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.623821Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624054Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624082Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624098Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624463Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624621Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624663Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624692Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624713Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624732Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624756Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624910Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34344, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.624960Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34344, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625229Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34344, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625275Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625296Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625307Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625435Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625476Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625501Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59606) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625708Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625898Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.625922Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626031Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626252Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626305Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626419Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626572Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59620 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626620Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59620) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626638Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626746Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626778Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626798Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626815Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626826Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626840Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.626985Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627214Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627244Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627259Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627646Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627791Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627831Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627862Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627883Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627902Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.627922Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628064Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34348, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628109Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34348, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628327Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34348, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628361Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628394Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628405Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628501Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628535Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628547Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59620) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628727Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628901Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.628923Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629024Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629229Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629276Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629360Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629533Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59632 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629587Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59632) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629607Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629707Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629736Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629756Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629772Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629783Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629796Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.629936Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630154Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630180Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630194Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630553Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630704Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630748Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630782Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630804Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630824Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.630845Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631008Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34364, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631062Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34364, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631345Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34364, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631418Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631444Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631457Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631589Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631635Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631654Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59632) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.631874Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632078Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632105Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632237Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632516Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632574Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632671Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632835Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59636 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632888Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59636) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.632907Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633014Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633044Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633062Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633079Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633090Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633103Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.633242Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634022Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634052Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634068Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634306Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634447Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634485Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634523Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634539Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634553Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634570Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634600Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34380, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634633Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34380, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634871Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34380, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634912Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634930Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.634940Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.635302Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.635565Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.635595Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.635719Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.635999Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636044Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636071Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59636) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636211Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636271Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636436Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59650 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636503Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59650) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636527Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636645Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636836Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636873Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636894Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636911Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636923Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.636937Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.637175Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.637775Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.637803Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.637817Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638009Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638121Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638156Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638182Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638198Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638213Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638231Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638263Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34394, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638302Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34394, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638604Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34394, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638659Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638682Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.638693Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639079Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639282Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639309Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639456Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639734Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639782Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639807Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59650) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.639940Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640004Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640107Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640269Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59662 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640326Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59662) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640347Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640483Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640529Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640551Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640570Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640582Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640595Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.640866Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.641620Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.641654Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.641669Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.641914Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642067Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642109Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642139Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642159Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642178Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642198Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642242Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34398, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642282Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34398, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642583Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34398, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642634Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642656Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.642668Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643036Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643228Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643255Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643372Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643685Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643733Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643771Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59662) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.643909Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644090Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644204Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644352Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59678 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644422Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59678) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644444Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644566Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644597Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644616Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644635Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644646Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644660Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.644806Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645033Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645058Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645073Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645421Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645583Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645624Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645653Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645671Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645689Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645709Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645856Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34404, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.645904Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34404, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646162Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34404, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646214Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646235Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646246Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646344Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646401Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646421Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59678) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646641Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646838Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646862Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.646976Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647190Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647245Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647347Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647575Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59692 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647631Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59692) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647652Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647767Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647800Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647821Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647839Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647851Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.647864Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648006Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648242Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648268Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648284Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648653Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648798Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648839Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648872Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648892Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648911Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.648932Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649078Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34410, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649127Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34410, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649410Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34410, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649454Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649474Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649494Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649594Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649633Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649650Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59692) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.649870Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650093Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650120Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650272Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650592Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650662Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650778Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.650958Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59706 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651014Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59706) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651036Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651163Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651206Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651228Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651247Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651259Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651273Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651438Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651684Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651713Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.651729Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652091Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652243Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652289Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652321Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652341Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652359Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652403Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652572Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34420, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652624Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34420, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652891Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34420, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652939Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652960Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.652973Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653081Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653126Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653142Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59706) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653358Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653589Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653617Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653736Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.653982Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654044Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654151Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654312Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59722 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654367Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59722) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654410Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654539Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654574Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654596Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654619Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654632Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654646Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.654798Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655037Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655067Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655082Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655497Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655653Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655696Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655726Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655748Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655766Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655788Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655937Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34430, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.655991Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34430, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656260Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34430, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656308Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656331Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656343Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656469Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656526Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656544Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59722) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656776Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.656989Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657016Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657140Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657421Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657483Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657608Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657766Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59724 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657824Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59724) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657845Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657964Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.657999Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658023Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658042Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658054Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658068Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658220Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658475Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658518Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658533Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.658914Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659075Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659121Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659153Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659173Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659194Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659221Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659398Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34446, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659451Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34446, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659739Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34446, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659792Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659816Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659828Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659938Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.659984Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660003Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59724) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660225Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660448Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660478Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660616Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660879Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.660945Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661059Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661223Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59730 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661281Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59730) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661304Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661441Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661476Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661508Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661527Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661539Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661553Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661696Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661926Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661955Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.661970Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662331Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662520Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662565Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662597Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662618Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662638Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662660Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662826Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34458, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.662879Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34458, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663258Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34458, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663311Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663335Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663348Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663478Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663534Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663553Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59730) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663775Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.663986Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664013Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664137Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664421Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664495Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664610Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664777Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59732 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664835Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59732) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664858Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.664982Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665018Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665040Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665059Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665071Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665084Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665236Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665523Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665557Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665573Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.665933Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666083Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666125Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666157Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666178Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666198Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666221Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666374Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34472, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666440Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34472, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666723Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34472, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666777Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666801Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666814Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666920Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666967Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.666985Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59732) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667206Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667429Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667456Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667613Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667861Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.667926Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668052Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668218Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59734 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668274Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59734) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668296Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668437Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668474Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668504Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668522Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668534Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668548Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668701Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668947Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668978Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.668994Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669393Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669554Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669600Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669630Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669650Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669669Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669692Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669854Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34476, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.669913Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34476, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670190Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34476, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670240Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670263Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670277Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670402Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670444Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670462Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59734) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670690Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670905Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.670940Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671069Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671325Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671418Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671548Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671718Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59742 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671782Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59742) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671808Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671928Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671972Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.671993Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.672012Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.672027Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.672041Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.672193Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673292Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673329Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673343Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673611Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673747Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673789Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673820Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673850Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673880Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673903Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673946Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34480, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.673996Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34480, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674267Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34480, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674328Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674351Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674363Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674750Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674954Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.674989Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675120Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675413Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675474Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675517Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59742) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675653Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675721Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675831Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.675997Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59746 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676062Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59746) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676085Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676202Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676236Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676256Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676274Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676286Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676300Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676460Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676688Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676713Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.676727Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677051Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677194Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677236Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677265Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677286Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677304Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677325Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677510Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34496, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677566Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34496, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677843Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34496, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677893Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677916Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.677927Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678036Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678081Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678098Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59746) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678338Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678572Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678597Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678709Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678938Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.678997Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679090Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679221Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59758 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679267Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59758) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679286Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679408Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679442Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679461Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679479Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679502Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679515Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679656Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679889Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679915Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.679930Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680275Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680441Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680483Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680521Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680540Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680558Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680580Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680739Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34498, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.680791Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34498, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681074Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34498, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681118Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681140Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681153Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681258Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681299Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681316Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59758) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681558Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681760Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681790Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "content-type": "text/plain", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.681910Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682148Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682215Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682321Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682502Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59772 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682559Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59772) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682580Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682693Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682725Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682745Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682763Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682777Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682790Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.682930Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683151Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683180Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683197Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683567Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683713Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683756Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683786Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683807Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683825Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.683846Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684004Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34510, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684054Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34510, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684317Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34510, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684362Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684408Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684421Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684525Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684560Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684574Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59772) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684769Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684952Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.684975Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685083Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685303Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685358Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685479Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685637Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59776 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685688Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59776) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685709Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685813Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685844Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685863Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685880Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685891Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.685905Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686047Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686278Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686307Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686322Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686691Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686830Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686874Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686905Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686924Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686943Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.686967Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687114Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34520, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687164Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34520, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687458Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34520, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687532Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687552Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687563Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687660Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687697Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687711Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59776) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.687941Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688140Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688165Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688281Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688552Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688607Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688701Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688843Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59782 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688891Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59782) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.688910Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689010Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689039Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689057Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689073Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689084Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689096Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689231Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689467Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689502Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689517Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689853Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.689985Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690027Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690056Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690074Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690092Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690112Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690257Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34524, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690305Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34524, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690600Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34524, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690651Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690673Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690685Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690790Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690831Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.690848Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59782) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691061Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691262Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691287Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691428Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691685Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691739Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691843Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.691985Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59796 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692036Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59796) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692056Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692162Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692193Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692219Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692236Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692245Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692257Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692407Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692641Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692664Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.692679Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693023Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693174Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693219Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693251Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693272Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693292Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693313Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693484Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34526, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693552Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34526, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693823Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34526, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693868Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.693888Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.694101Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.694272Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.694723Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.694864Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695105Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695167Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695274Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695367Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695526Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59812 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695586Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59812) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695608Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695680Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695718Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695745Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59796) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695880Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695911Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695930Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695947Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695958Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.695971Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696113Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696345Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696371Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696407Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696787Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.696972Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697015Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697046Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697065Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697084Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697105Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697259Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34540, fd: 22 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697309Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34540, fd: 22 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697602Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34540, fd: 22 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697648Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697666Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697676Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697774Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697813Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.697829Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59812) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698033Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698226Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698249Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698351Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698602Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698658Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698792Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59824 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698843Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59824) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698862Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.698986Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699150Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699184Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699205Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699223Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699234Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699248Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699419Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699656Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699683Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.699698Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700071Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700217Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700257Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700286Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700304Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700323Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700343Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700433Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34554, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.700482Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34554, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701419Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34554, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701469Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701497Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701507Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701609Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701651Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701668Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59824) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.701850Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702049Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702076Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702191Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702456Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702526Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702632Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702787Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59840 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702840Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59840) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702861Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.702972Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703006Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703027Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703045Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703056Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703068Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703209Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703460Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703503Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703523Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.703786Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704003Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704117Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704229Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704326Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704483Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704718Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.704905Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34566, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705108Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34566, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705526Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34566, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705629Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705727Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705800Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705810Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705961Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.705968Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706095Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706125Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706156Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59840) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706229Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706527Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706592Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706703Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706752Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59842 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706810Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59842) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706834Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706952Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.706995Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707017Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707045Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707064Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707086Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707246Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707520Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707559Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707576Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.707923Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708078Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708128Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708163Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708188Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708207Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708230Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708393Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34578, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708452Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34578, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708725Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34578, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708792Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708818Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708839Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.708947Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709000Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709025Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59842) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709255Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709419Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709502Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.709707Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710006Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710113Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710333Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59858 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710320Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710449Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59858) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710480Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710628Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710675Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710698Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710717Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710735Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710764Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.710915Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711165Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711208Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711225Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711592Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711767Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711817Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711861Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711883Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711911Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.711933Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712082Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34580, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712142Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34580, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712436Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34580, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712501Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712527Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712542Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712647Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712699Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712716Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59858) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.712943Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.713186Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.713359Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.713714Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.714220Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.714513Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.714716Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.714732Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59870 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.714926Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59870) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715072Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715243Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715418Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715491Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715543Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715588Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715626Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.715901Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716283Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716600Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716647Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716567Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716860Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716904Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716937Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716959Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.716979Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717000Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717038Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34584, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717081Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34584, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717786Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34584, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717867Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.717979Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718018Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718147Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718234Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718302Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59870) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718846Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718884Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "connection": "close", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.718731Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719260Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719547Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719621Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719742Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719792Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59876 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719850Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59876) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719874Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.719990Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720025Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720045Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720063Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720075Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720088Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.720411Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721112Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721395Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721415Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721341Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721576Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721621Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721651Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721673Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721692Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721714Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721764Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34586, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.721810Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34586, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722095Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34586, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722150Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722176Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722189Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722462Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722509Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722528Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59876) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722600Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722625Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722476Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.722906Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723149Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723223Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723334Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723810Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59888 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723875Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59888) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.723898Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724016Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724051Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724072Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724091Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724103Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724117Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.724360Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725205Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725236Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725252Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725515Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725646Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725688Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725720Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725753Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725774Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725795Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725831Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34596, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.725873Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34596, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726157Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34596, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726212Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726248Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726262Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726334Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726555Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726571Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726592Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726601Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726626Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59888) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726713Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.726937Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727010Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727133Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727166Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59890 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727221Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59890) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727245Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727360Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727415Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727435Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727453Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727485Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727499Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.727747Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728486Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728518Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728533Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728786Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728919Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728964Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.728997Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729018Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729039Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729061Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729099Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34608, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729141Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34608, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729442Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34608, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729496Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729542Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729558Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729803Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729836Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729856Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729894Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729667Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.729911Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59890) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730110Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730333Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730409Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730525Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730715Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59902 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730784Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59902) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730807Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730918Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730951Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730970Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.730989Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.731001Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.731015Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.731245Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732180Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732212Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732228Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732483Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732614Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732658Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732690Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732713Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732735Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732769Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732806Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34616, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.732849Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34616, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733128Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34616, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733180Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733203Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733215Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733602Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733680Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733707Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733798Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733831Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733844Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.733873Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59902) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734062Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734124Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734245Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734425Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59918 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734482Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59918) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734505Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734625Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734659Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734679Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734698Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734710Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734724Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.734878Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735112Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735141Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735156Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735528Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735707Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735899Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.735995Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736018Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736038Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736068Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736438Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34618, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736509Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34618, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736805Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34618, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736877Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736904Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.736917Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737075Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737130Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737151Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59918) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737536Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737697Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.737730Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.738556Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739012Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739091Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739244Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739322Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59922 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739424Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59922) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739453Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739620Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739658Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739684Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739709Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739721Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.739743Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740053Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740474Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740513Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740530Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740825Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.740982Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741029Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741063Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741086Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741107Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741133Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741173Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34628, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741218Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34628, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741542Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34628, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741608Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741637Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.741651Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742133Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742267Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742300Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742343Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742389Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742438Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59922) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742486Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742798Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.742888Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743012Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743218Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59938 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743290Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59938) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743314Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743480Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743520Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743545Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743571Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743584Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743598Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.743753Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744018Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744047Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744064Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744558Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744730Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744776Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744817Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744841Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744860Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.744883Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745050Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34640, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745104Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34640, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745374Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34640, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745440Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745462Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745485Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745629Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745673Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745689Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59938) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.745997Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.746122Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.746153Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.747583Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.748711Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.748804Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.748969Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749158Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59952 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749341Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59952) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749371Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749589Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749633Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749656Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749679Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749690Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749705Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.749879Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750110Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750138Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750154Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750722Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750929Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.750980Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751017Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751041Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751061Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751086Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751287Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34648, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751341Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34648, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751648Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34648, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751698Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751722Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751735Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751866Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751911Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.751928Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59952) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.752282Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.752773Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.752816Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.752984Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753363Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753462Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753591Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753861Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59966 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753938Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59966) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.753963Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754108Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754145Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754169Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754193Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754206Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754223Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754393Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754640Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754669Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.754684Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755134Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755300Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755344Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755372Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755467Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755491Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755518Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755690Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34656, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.755742Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34656, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756015Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34656, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756064Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756085Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756098Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756216Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756262Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756280Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59966) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756624Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.756973Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757007Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757163Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757484Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757563Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757683Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757860Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59982 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757922Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59982) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.757946Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758086Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758124Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758148Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758172Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758188Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758204Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758353Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758618Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758647Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.758662Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759119Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759295Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759343Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759394Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759415Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759431Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759452Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759613Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34668, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759666Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34668, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.759990Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34668, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760041Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760064Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760077Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760193Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760239Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760257Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59982) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760558Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760879Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.760910Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761070Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761367Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761464Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761577Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761750Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59984 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761824Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59984) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761850Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.761994Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762030Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762053Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762076Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762088Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762106Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762358Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762879Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762911Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.762927Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763225Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763417Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763467Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763502Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763525Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763546Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763572Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763610Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34680, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763654Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34680, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763922Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34680, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763969Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.763992Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.764003Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.764471Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.764728Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.764760Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.764929Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765256Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765305Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765341Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:59984) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765523Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765595Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765723Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765907Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59994 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765973Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59994) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.765997Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766130Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766164Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766188Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766212Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766226Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766243Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766414Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766657Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766686Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.766702Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.767073Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768246Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768300Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768338Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768361Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768401Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768430Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768485Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34694, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768535Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34694, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768803Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34694, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768860Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768882Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.768894Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769007Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769053Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769072Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59994) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769364Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769699Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769730Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.769907Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770214Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770283Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770451Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770625Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:59996 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770692Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:59996) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770716Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770843Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770873Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770893Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770914Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770925Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.770939Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771088Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771346Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771403Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771424Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771601Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771774Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771834Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771865Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771883Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771902Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771922Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.771973Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34698, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772024Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34698, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772301Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34698, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772353Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772406Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772423Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772536Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772586Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772603Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:59996) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.772986Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773272Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773299Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773481Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773784Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773862Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.773974Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774136Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60002 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774196Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60002) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774217Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774341Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774394Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774421Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774443Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774455Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774472Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774631Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774878Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774904Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.774919Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775551Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775734Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775786Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775834Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775865Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775890Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775915Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.775970Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34710, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776029Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34710, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776313Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34710, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776366Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776407Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776421Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776533Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776578Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.776595Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60002) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.777114Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.777562Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.777646Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.777849Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778130Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778201Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778321Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778537Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60014 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778608Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60014) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778635Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778771Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778806Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778839Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778863Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778876Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.778893Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779049Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779290Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779320Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779337Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779803Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.779989Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780037Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780072Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780095Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780113Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780137Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780302Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34712, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780359Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34712, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780645Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34712, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780693Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780716Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780728Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780852Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780894Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.780910Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60014) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.781188Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.781504Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.781535Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.781699Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782022Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782092Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782203Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782367Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60016 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782451Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60016) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782474Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782602Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782635Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782656Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782678Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782692Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782710Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.782877Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783126Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783155Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783172Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783633Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783817Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783867Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783899Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783916Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783933Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.783956Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784128Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34714, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784182Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34714, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784465Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34714, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784512Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784533Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784545Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784656Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784700Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.784715Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60016) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785014Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785309Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785341Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785523Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785826Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.785904Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786030Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786227Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60026 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786291Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60026) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786315Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786461Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786498Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786523Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786546Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786557Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786573Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786726Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.786970Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787001Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787017Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787455Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787646Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787695Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787728Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787750Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787769Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787790Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.787962Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34726, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788015Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34726, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788274Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34726, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788317Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788335Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788349Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788476Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788519Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788537Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60026) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.788832Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789181Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789213Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789405Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789719Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789794Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.789931Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790126Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60028 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790194Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60028) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790220Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790363Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790417Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790443Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790469Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790481Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790498Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790677Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790938Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790969Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.790986Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791449Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791620Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791664Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791694Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791713Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791731Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791754Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791931Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34736, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.791985Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34736, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792244Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34736, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792290Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792313Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792329Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792469Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792516Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792533Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60028) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.792818Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793095Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793123Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793267Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793584Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793652Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793765Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.793941Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60042 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794004Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60042) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794026Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794161Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794196Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794218Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794242Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794254Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794270Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794447Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794683Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794712Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.794728Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795140Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795301Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795348Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795398Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795423Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795443Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795467Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795632Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34746, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795690Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34746, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.795978Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34746, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796026Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796051Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796066Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796181Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796226Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796243Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60042) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796546Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796846Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.796876Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797028Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797326Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797416Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797529Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797712Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60054 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797769Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60054) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797790Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797927Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797961Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.797985Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.798010Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.798023Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.798039Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.798188Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799155Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799188Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799205Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799495Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799649Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799696Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799732Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799751Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799769Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799943Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.799999Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34750, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800046Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34750, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800310Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34750, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800354Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800396Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800411Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.800867Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801140Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801168Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "x-custom": "unique", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801321Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801656Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801702Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801732Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:60054) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801894Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.801959Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802123Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60056 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802182Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60056) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802204Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802313Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802536Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802579Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802603Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802626Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802638Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802654Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.802801Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803047Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803075Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803091Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803528Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803695Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803738Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803768Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803787Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803806Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803839Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.803993Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34762, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804043Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34762, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804303Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34762, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804345Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804366Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804398Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804505Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804544Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804562Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60056) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.804849Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805125Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805157Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805308Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805627Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805699Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.805829Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806004Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60070 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806069Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60070) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806094Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806230Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806264Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806285Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806308Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806321Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806335Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806634Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.806998Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807029Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807045Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807320Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807510Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807557Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807590Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807610Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807630Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807654Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807693Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34764, peer: 127.0.0.1:40059, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.807742Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34764, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808024Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34764, peer: 127.0.0.1:40059, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808075Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808099Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808114Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808574Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808850Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.808883Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809039Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809365Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809430Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809463Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:60070) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809620Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809694Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.809851Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810023Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60084 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810086Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60084) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810110Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810245Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810280Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810304Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810328Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810345Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810361Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810528Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810773Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810802Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.810827Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811269Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811461Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811510Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811545Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811568Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811589Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811612Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811769Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34768, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.811837Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34768, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812113Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34768, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812163Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812188Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812201Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812310Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812354Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812373Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60084) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812664Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812948Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.812977Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813119Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813420Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813488Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813605Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813768Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60094 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813842Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60094) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813867Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.813997Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814031Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814054Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814076Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814088Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814106Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814251Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814506Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814535Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814553Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.814992Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815155Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815198Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815229Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815248Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815266Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815290Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815478Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34778, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815530Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34778, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815797Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34778, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815851Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815874Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815887Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.815992Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816029Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816045Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60094) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816304Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816586Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816615Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.816762Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817084Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817163Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817278Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817460Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60098 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817525Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60098) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817550Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817683Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817717Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817738Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817760Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817772Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817787Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.817948Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818180Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818204Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818220Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818652Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818820Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818866Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818899Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818917Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818932Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.818950Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819113Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34794, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819165Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34794, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819465Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34794, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819515Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819541Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819554Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819668Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819710Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.819727Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60098) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820027Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820318Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820348Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820523Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820835Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.820906Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821139Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821328Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60112 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821420Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60112) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821446Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821583Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821619Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821642Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821667Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821679Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821696Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.821860Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822103Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822133Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822150Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822608Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822780Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822838Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822871Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822890Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822909Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.822931Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823092Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34810, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823149Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34810, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823439Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34810, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823485Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823506Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823520Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823631Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823670Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823686Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:60112) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.823981Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824261Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824290Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824461Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824748Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824823Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.824938Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825100Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60114 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825160Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60114) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825181Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825308Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825342Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825365Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825411Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825427Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825442Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825588Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825827Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825854Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.825869Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826303Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826503Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826550Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826582Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826602Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826620Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826644Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826821Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34818, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.826877Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34818, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827159Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34818, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827203Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827225Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:22 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827238Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/rust-io-28069937a540b500/9d3222b/src/copy/tcp/linux/mod.rs:26 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827348Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827640Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827936Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.827966Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Fri, 16 Jan 2026 17:17:28 GMT", "content-type": "text/plain", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828116Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828370Z ERROR gateway::gateway::entrypoint::service: Connection closed with error, error: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } [INFO] [stdout] at src/gateway/entrypoint/service.rs:88 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828431Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:60114) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828594Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828664Z DEBUG isahc::handler:  Trying 127.0.0.1:45459... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828843Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:60124 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828907Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:60124) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.828928Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829040Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 45459 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:45459/hello [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829253Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14", "content-length": "0"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:105 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829289Z DEBUG entrypoint: 2 - collected request body (remains from buffer), stage: "request", data: [] [INFO] [stdout] at src/gateway/entrypoint/service.rs:107 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829309Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829332Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829343Z DEBUG gateway::gateway::entrypoint::service: Context: Ctx { app_id: 0, endpoint_id: 0 } [INFO] [stdout] at src/gateway/entrypoint/service.rs:175 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829357Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/entrypoint/service.rs:68 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829527Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829745Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "curl/8.5.0 isahc/0.9.14"} } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:48 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829769Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.829784Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830195Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wiremock-0.6.1/src/mock_set.rs:60 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830357Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830425Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830459Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830480Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830501Z DEBUG gateway::http::headers: Parsing header, header: "date: Fri, 16 Jan 2026 17:17:28 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830525Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-16T17:17:28.830709Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Fri, 16 Jan 2026 17:17:28 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34834, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [WARN] too many lines in the log, truncating it