[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#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majksa-dev/rust-gateway on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5858e3a0754179d025fc365593a6468ae1afad6c69f8b83ff680c7598871869 [INFO] running `Command { std: "docker" "start" "-a" "f5858e3a0754179d025fc365593a6468ae1afad6c69f8b83ff680c7598871869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5858e3a0754179d025fc365593a6468ae1afad6c69f8b83ff680c7598871869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5858e3a0754179d025fc365593a6468ae1afad6c69f8b83ff680c7598871869", kill_on_drop: false }` [INFO] [stdout] f5858e3a0754179d025fc365593a6468ae1afad6c69f8b83ff680c7598871869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5512d5893a47396e9acb223941695bd756a1e939edb0c5042dee6cce7717a2 [INFO] running `Command { std: "docker" "start" "-a" "6f5512d5893a47396e9acb223941695bd756a1e939edb0c5042dee6cce7717a2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling object v0.32.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 regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [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.02s [INFO] running `Command { std: "docker" "inspect" "6f5512d5893a47396e9acb223941695bd756a1e939edb0c5042dee6cce7717a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5512d5893a47396e9acb223941695bd756a1e939edb0c5042dee6cce7717a2", kill_on_drop: false }` [INFO] [stdout] 6f5512d5893a47396e9acb223941695bd756a1e939edb0c5042dee6cce7717a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72e3535a7f2177c072ce120417fb51d5fe82fe1e8f2f02a58de632f5251a21d5 [INFO] running `Command { std: "docker" "start" "-a" "72e3535a7f2177c072ce120417fb51d5fe82fe1e8f2f02a58de632f5251a21d5", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling log v0.4.21 [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 cpuid-bool v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [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 bumpalo v3.16.0 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [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 time-macros-impl v0.1.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling openssl v0.10.64 [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 anstyle-parse v0.2.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [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 wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling assert_fs v1.1.1 [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 darling_macro v0.20.9 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling rcgen v0.13.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling parse-display-derive v0.9.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling parse-display v0.9.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling web-sys v0.3.69 [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 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 chrono v0.4.38 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling hickory-proto v0.24.1 [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 tracing-panic v0.1.2 [INFO] [stderr] Compiling surf v2.3.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 hickory-resolver v0.24.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 gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.3.1 [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 hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyperlocal-next v0.9.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling wiremock v0.6.1 [INFO] [stderr] Compiling reqwest v0.12.5 [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 54s [INFO] running `Command { std: "docker" "inspect" "72e3535a7f2177c072ce120417fb51d5fe82fe1e8f2f02a58de632f5251a21d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e3535a7f2177c072ce120417fb51d5fe82fe1e8f2f02a58de632f5251a21d5", kill_on_drop: false }` [INFO] [stdout] 72e3535a7f2177c072ce120417fb51d5fe82fe1e8f2f02a58de632f5251a21d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e430cd59717e3f518ef35a58abe27f89db769f88910244474555964f8c022f9a [INFO] running `Command { std: "docker" "start" "-a" "e430cd59717e3f518ef35a58abe27f89db769f88910244474555964f8c022f9a", 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.79s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/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.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gateway-73eb01d8c339b939) [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_basic_server.rs (/opt/rustwide/target/debug/deps/auth_basic_server-77f28dedeceed2e2) [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/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/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/deps/cached_server-5e583189aa5c7a59) [INFO] [stdout] [INFO] [stderr] Running tests/cors_server.rs (/opt/rustwide/target/debug/deps/cors_server-a6984d50d1e45241) [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/empty_server.rs (/opt/rustwide/target/debug/deps/empty_server-b83a29785c350c9e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2026-01-25T15:37:58.932248Z DEBUG isahc::agent: agent waker listening on 127.0.0.1:46318 [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-25T15:37:58.932602Z DEBUG isahc::agent: agent took 407.28µ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: 46318 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.933753Z  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-25T15:37:58.935002Z DEBUG isahc::handler:  Trying 127.0.0.1:43899... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.935158Z DEBUG isahc::handler: connect to 127.0.0.1 port 43899 from 127.0.0.1 port 36006 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:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.935213Z DEBUG isahc::handler: Failed to connect to 127.0.0.1 port 43899 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:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.935260Z 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:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.935311Z 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: 46318 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.935350Z  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: 46318 [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-25T15:37:58.935826Z  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-25T15:37:58.935887Z DEBUG gateway::server::app: Starting server [INFO] [stdout] at src/server/app.rs:167 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936115Z DEBUG gateway::http::server: Listening on: 127.0.0.1:43899 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936173Z DEBUG gateway::http::server: Listening on: 127.0.0.1:44065 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936199Z 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:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936278Z DEBUG isahc::handler:  Trying 127.0.0.1:43899... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936420Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 43899 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.936500Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:36022 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.939148Z DEBUG isahc::handler: Connection #1 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:43899/ [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.939599Z  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-25T15:37:58.939774Z  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-25T15:37:58.940213Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.940408Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.940530Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46252 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.940661Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46252) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.940737Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.940963Z 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-25T15:37:58.941020Z 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-25T15:37:58.941061Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.941099Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.941122Z 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-25T15:37:58.941142Z 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-25T15:37:58.941384Z 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-25T15:37:58.941633Z 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-25T15:37:58.941676Z 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-25T15:37:58.941694Z 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-25T15:37:58.942194Z 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-25T15:37:58.942400Z 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-25T15:37:58.942466Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942510Z 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-25T15:37:58.942540Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942556Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942583Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942631Z 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": "Sun, 25 Jan 2026 15:37:58 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:41174, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942688Z 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": "Sun, 25 Jan 2026 15:37:58 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:41174, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.942977Z 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": "Sun, 25 Jan 2026 15:37:58 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:41174, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.943029Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.943062Z 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-25T15:37:58.943078Z 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-25T15:37:58.943224Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.943391Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.943443Z 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-25T15:37:58.943496Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46252) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.943833Z  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-25T15:37:58.944114Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:58.944503Z  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-25T15:37:58.945458Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.945573Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.945767Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.945908Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46264 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.946025Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46264) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.946068Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.946259Z 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-25T15:37:58.946317Z 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-25T15:37:58.946348Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.946385Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.946397Z 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-25T15:37:58.946413Z 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-25T15:37:58.946874Z 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-25T15:37:58.947568Z 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-25T15:37:58.947613Z 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-25T15:37:58.947632Z 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-25T15:37:58.947962Z 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-25T15:37:58.948117Z 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-25T15:37:58.948171Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948209Z 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-25T15:37:58.948226Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948243Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948274Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948316Z 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": "Sun, 25 Jan 2026 15:37:58 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:41178, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948364Z 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": "Sun, 25 Jan 2026 15:37:58 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:41178, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948571Z 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": "Sun, 25 Jan 2026 15:37:58 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:41178, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948622Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.948660Z 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-25T15:37:58.948676Z 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-25T15:37:58.948909Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.949119Z  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-25T15:37:58.949127Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.949157Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "x-custom": "unique", "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-25T15:37:58.949177Z 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-25T15:37:58.949209Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46264) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.950639Z  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-25T15:37:58.952207Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.952322Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.952488Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.952758Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46272 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.952848Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46272) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.952876Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.953054Z 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-25T15:37:58.953095Z 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-25T15:37:58.953124Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.953150Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.953161Z 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-25T15:37:58.953178Z 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-25T15:37:58.953342Z 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-25T15:37:58.953605Z 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-25T15:37:58.953638Z 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-25T15:37:58.953657Z 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-25T15:37:58.954207Z 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-25T15:37:58.954388Z 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-25T15:37:58.954437Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.954474Z 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-25T15:37:58.954493Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.954527Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.954556Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.954752Z 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": "Sun, 25 Jan 2026 15:37:58 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:41186, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.954809Z 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": "Sun, 25 Jan 2026 15:37:58 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:41186, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955086Z 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": "Sun, 25 Jan 2026 15:37:58 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:41186, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955171Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955199Z 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-25T15:37:58.955214Z 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-25T15:37:58.955337Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955399Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955422Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46272) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.955872Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.956009Z  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-25T15:37:58.956104Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:58.956426Z  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-25T15:37:58.961689Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.962092Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.962407Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.962824Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46282 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.963092Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46282) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.963259Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.963763Z 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-25T15:37:58.963949Z 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-25T15:37:58.964301Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.964649Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.964761Z 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-25T15:37:58.964857Z 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-25T15:37:58.966646Z 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-25T15:37:58.968710Z 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-25T15:37:58.968639Z 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-25T15:37:58.968876Z 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-25T15:37:58.969013Z 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-25T15:37:58.969264Z 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-25T15:37:58.969680Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.970999Z 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-25T15:37:58.971302Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.971840Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.972755Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.973010Z 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": "Sun, 25 Jan 2026 15:37:58 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:41188, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.973149Z 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": "Sun, 25 Jan 2026 15:37:58 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:41188, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.974918Z 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": "Sun, 25 Jan 2026 15:37:58 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:41188, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.975215Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.975452Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.975545Z 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-25T15:37:58.975955Z 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-25T15:37:58.976193Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.975761Z  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-25T15:37:58.976374Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:58.976600Z  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-25T15:37:58.976717Z 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-25T15:37:58.977078Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46282) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.977338Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.977460Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.977791Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.977875Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46290 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.978076Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46290) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.978148Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.978359Z 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-25T15:37:58.978566Z 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-25T15:37:58.978649Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.978880Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.979061Z 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-25T15:37:58.979128Z 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-25T15:37:58.979373Z 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-25T15:37:58.979668Z 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-25T15:37:58.979765Z 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-25T15:37:58.979809Z 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-25T15:37:58.985358Z 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-25T15:37:58.986840Z 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-25T15:37:58.986997Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.987123Z 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-25T15:37:58.987328Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.991844Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.992010Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.992446Z 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": "Sun, 25 Jan 2026 15:37:58 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:41200, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.992577Z 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": "Sun, 25 Jan 2026 15:37:58 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:41200, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.992960Z 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": "Sun, 25 Jan 2026 15:37:58 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:41200, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.993064Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.996850Z 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-25T15:37:58.997036Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:58.997071Z 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-25T15:37:59.000456Z  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-25T15:37:59.002824Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.003014Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003063Z  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-25T15:37:59.003077Z 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-25T15:37:59.003111Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46290) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003451Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003528Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003667Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003738Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46300 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003807Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46300) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003832Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.003982Z 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-25T15:37:59.004020Z 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-25T15:37:59.004047Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.004074Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.004087Z 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-25T15:37:59.004104Z 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-25T15:37:59.004262Z 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-25T15:37:59.004513Z 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-25T15:37:59.004542Z 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-25T15:37:59.004559Z 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-25T15:37:59.007331Z 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-25T15:37:59.007870Z 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-25T15:37:59.008134Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.008439Z 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-25T15:37:59.008763Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.009061Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.009189Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.009670Z 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": "Sun, 25 Jan 2026 15:37:58 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:41214, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.012029Z 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": "Sun, 25 Jan 2026 15:37:58 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:41214, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.012913Z 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": "Sun, 25 Jan 2026 15:37:58 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:41214, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.013216Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.013647Z 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-25T15:37:59.013911Z 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-25T15:37:59.014719Z  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-25T15:37:59.015034Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.015150Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.014972Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.015545Z 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-25T15:37:59.016061Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46300) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.016466Z  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-25T15:37:59.016949Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.017310Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.017970Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46314 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.018549Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46314) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.018356Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.018890Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.019471Z 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-25T15:37:59.019659Z 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-25T15:37:59.019792Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.019971Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.019986Z 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-25T15:37:59.020002Z 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-25T15:37:59.020308Z 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-25T15:37:59.020544Z 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-25T15:37:59.020567Z 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-25T15:37:59.020581Z 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-25T15:37:59.021694Z 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-25T15:37:59.022376Z 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-25T15:37:59.022638Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.023118Z 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-25T15:37:59.023450Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.023780Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.024325Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.024635Z 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": "Sun, 25 Jan 2026 15:37:58 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:41220, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.025135Z 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": "Sun, 25 Jan 2026 15:37:58 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:41220, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.025871Z 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": "Sun, 25 Jan 2026 15:37:58 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:41220, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.026460Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.026715Z 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-25T15:37:59.027017Z 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-25T15:37:59.027704Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.028612Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.028875Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46314) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.028531Z  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-25T15:37:59.029651Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.028292Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.030658Z  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-25T15:37:59.031202Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.031449Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.031595Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.031837Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46330 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.031917Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46330) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.031943Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.032107Z 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-25T15:37:59.032146Z 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-25T15:37:59.032176Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.032203Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.032217Z 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-25T15:37:59.032233Z 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-25T15:37:59.032406Z 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-25T15:37:59.032647Z 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-25T15:37:59.032679Z 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-25T15:37:59.032696Z 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-25T15:37:59.033179Z 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-25T15:37:59.033366Z 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-25T15:37:59.033410Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033441Z 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-25T15:37:59.033458Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033476Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033498Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033657Z 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": "Sun, 25 Jan 2026 15:37:58 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:41234, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033709Z 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": "Sun, 25 Jan 2026 15:37:58 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:41234, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.033985Z 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": "Sun, 25 Jan 2026 15:37:58 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:41234, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034033Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034055Z 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-25T15:37:59.034068Z 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-25T15:37:59.034211Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034266Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034285Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46330) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034619Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.034945Z  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-25T15:37:59.034978Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.035139Z  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-25T15:37:59.035455Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.035528Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.035664Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.035870Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46342 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.035939Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46342) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.035963Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.036112Z 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-25T15:37:59.036150Z 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-25T15:37:59.036177Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.036204Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.036216Z 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-25T15:37:59.036231Z 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-25T15:37:59.036536Z 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-25T15:37:59.037004Z 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-25T15:37:59.037035Z 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-25T15:37:59.037051Z 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-25T15:37:59.037341Z 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-25T15:37:59.037485Z 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-25T15:37:59.037531Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037563Z 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-25T15:37:59.037580Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037597Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037619Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037657Z 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": "Sun, 25 Jan 2026 15:37:58 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:41236, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037702Z 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": "Sun, 25 Jan 2026 15:37:58 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:41236, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.037991Z 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": "Sun, 25 Jan 2026 15:37:58 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:41236, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.038036Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.038056Z 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-25T15:37:59.038070Z 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-25T15:37:59.038581Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.038887Z  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-25T15:37:59.038919Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.039072Z  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-25T15:37:59.039435Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.039491Z 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-25T15:37:59.039526Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46342) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.039703Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.039803Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.039978Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46356 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040038Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46356) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040061Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040172Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040390Z 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-25T15:37:59.040430Z 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-25T15:37:59.040458Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040485Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.040497Z 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-25T15:37:59.040514Z 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-25T15:37:59.040832Z 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-25T15:37:59.041244Z 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-25T15:37:59.041285Z 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-25T15:37:59.041302Z 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-25T15:37:59.041606Z 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-25T15:37:59.041792Z 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-25T15:37:59.041842Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.041883Z 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-25T15:37:59.041907Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.041927Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.041953Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.041994Z 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": "Sun, 25 Jan 2026 15:37:58 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:41238, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.042043Z 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": "Sun, 25 Jan 2026 15:37:58 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:41238, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.042329Z 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": "Sun, 25 Jan 2026 15:37:58 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:41238, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.042380Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.042404Z 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-25T15:37:59.042417Z 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-25T15:37:59.042953Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.043266Z  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-25T15:37:59.043298Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.043455Z  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-25T15:37:59.043809Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.043860Z 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-25T15:37:59.043890Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46356) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044053Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044125Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044313Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46362 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044378Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46362) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044400Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044515Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044745Z 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-25T15:37:59.044782Z 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-25T15:37:59.044809Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044836Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.044848Z 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-25T15:37:59.044862Z 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-25T15:37:59.045127Z 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-25T15:37:59.045664Z 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-25T15:37:59.045692Z 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-25T15:37:59.045707Z 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-25T15:37:59.045972Z 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-25T15:37:59.046146Z 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-25T15:37:59.046190Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046223Z 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-25T15:37:59.046241Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046278Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046305Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046468Z 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": "Sun, 25 Jan 2026 15:37:58 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:41242, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046525Z 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": "Sun, 25 Jan 2026 15:37:58 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:41242, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046908Z 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": "Sun, 25 Jan 2026 15:37:58 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:41242, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046957Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.046979Z 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-25T15:37:59.046992Z 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-25T15:37:59.047118Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.047163Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.047183Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46362) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.047509Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.047825Z  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-25T15:37:59.047857Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "x-custom": "unique", "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-25T15:37:59.048018Z  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-25T15:37:59.048343Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.048418Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.048551Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.048762Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46366 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.048836Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46366) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.048860Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.049018Z 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-25T15:37:59.049057Z 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-25T15:37:59.049089Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.049117Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.049131Z 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-25T15:37:59.049147Z 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-25T15:37:59.049321Z 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-25T15:37:59.049560Z 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-25T15:37:59.049588Z 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-25T15:37:59.049605Z 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-25T15:37:59.050110Z 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-25T15:37:59.050323Z 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-25T15:37:59.050374Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050409Z 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-25T15:37:59.050431Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050451Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050478Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050658Z 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": "Sun, 25 Jan 2026 15:37:58 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:41248, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050716Z 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": "Sun, 25 Jan 2026 15:37:58 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:41248, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.050996Z 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": "Sun, 25 Jan 2026 15:37:58 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:41248, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051042Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051064Z 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-25T15:37:59.051075Z 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-25T15:37:59.051189Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051231Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051258Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46366) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051585Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.051896Z  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-25T15:37:59.051928Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.052091Z  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-25T15:37:59.052422Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.052500Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.052632Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.052845Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46382 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.052921Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46382) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.052947Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.053102Z 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-25T15:37:59.053141Z 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-25T15:37:59.053169Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.053196Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.053209Z 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-25T15:37:59.053227Z 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-25T15:37:59.053397Z 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-25T15:37:59.053638Z 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-25T15:37:59.053666Z 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-25T15:37:59.053683Z 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-25T15:37:59.054235Z 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-25T15:37:59.054410Z 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-25T15:37:59.054457Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.054491Z 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-25T15:37:59.054514Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.054533Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.054558Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.054595Z 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": "Sun, 25 Jan 2026 15:37:58 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:41250, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.054642Z 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": "Sun, 25 Jan 2026 15:37:58 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:41250, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055112Z 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": "Sun, 25 Jan 2026 15:37:58 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:41250, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055165Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055189Z 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-25T15:37:59.055203Z 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-25T15:37:59.055334Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055378Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055397Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46382) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.055713Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.056020Z  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-25T15:37:59.056050Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.056203Z  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-25T15:37:59.056522Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.056595Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.056717Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.056938Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46386 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.057007Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46386) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.057030Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.057173Z 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-25T15:37:59.057208Z 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-25T15:37:59.057235Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.057274Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.057287Z 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-25T15:37:59.057303Z 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-25T15:37:59.057456Z 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-25T15:37:59.057695Z 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-25T15:37:59.057741Z 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-25T15:37:59.057759Z 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-25T15:37:59.058243Z 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-25T15:37:59.058423Z 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-25T15:37:59.058468Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.058502Z 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-25T15:37:59.058523Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.058543Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.058569Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.058753Z 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": "Sun, 25 Jan 2026 15:37:58 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:41252, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.058809Z 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": "Sun, 25 Jan 2026 15:37:58 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:41252, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059072Z 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": "Sun, 25 Jan 2026 15:37:58 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:41252, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059117Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059139Z 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-25T15:37:59.059151Z 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-25T15:37:59.059274Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059316Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059333Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46386) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.059657Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.060005Z  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-25T15:37:59.060038Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.060194Z  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-25T15:37:59.060526Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.060602Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.060755Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.060950Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46402 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.061020Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46402) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.061046Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.061199Z 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-25T15:37:59.061237Z 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-25T15:37:59.061277Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.061304Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.061318Z 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-25T15:37:59.061334Z 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-25T15:37:59.061626Z 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-25T15:37:59.062040Z 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-25T15:37:59.062072Z 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-25T15:37:59.062088Z 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-25T15:37:59.062381Z 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-25T15:37:59.062537Z 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-25T15:37:59.062586Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.062621Z 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-25T15:37:59.062643Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.062663Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.062688Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.062748Z 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": "Sun, 25 Jan 2026 15:37:58 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:41264, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.062798Z 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": "Sun, 25 Jan 2026 15:37:58 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:41264, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.063072Z 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": "Sun, 25 Jan 2026 15:37:58 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:41264, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.063122Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.063147Z 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-25T15:37:59.063162Z 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-25T15:37:59.063675Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.063965Z  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-25T15:37:59.063995Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-type": "text/plain", "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-25T15:37:59.064146Z  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-25T15:37:59.064480Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.064535Z 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-25T15:37:59.064564Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46402) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.064718Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.064817Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.064946Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065115Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46412 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065175Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46412) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065196Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065354Z 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-25T15:37:59.065393Z 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-25T15:37:59.065422Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065448Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.065461Z 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-25T15:37:59.065476Z 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-25T15:37:59.065649Z 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-25T15:37:59.065906Z 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-25T15:37:59.065938Z 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-25T15:37:59.065955Z 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-25T15:37:59.066458Z 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-25T15:37:59.066635Z 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-25T15:37:59.066876Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.066918Z 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-25T15:37:59.066942Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.066962Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.066988Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067166Z 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": "Sun, 25 Jan 2026 15:37:58 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:41278, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067224Z 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": "Sun, 25 Jan 2026 15:37:58 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:41278, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067511Z 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": "Sun, 25 Jan 2026 15:37:58 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:41278, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067560Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067583Z 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-25T15:37:59.067596Z 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-25T15:37:59.067714Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067782Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.067798Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46412) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.068118Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.068434Z  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-25T15:37:59.068465Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.068623Z  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-25T15:37:59.068972Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069045Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069177Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069373Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46416 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069430Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46416) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069449Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069583Z 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-25T15:37:59.069616Z 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-25T15:37:59.069641Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069663Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.069675Z 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-25T15:37:59.069689Z 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-25T15:37:59.069855Z 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-25T15:37:59.070080Z 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-25T15:37:59.070105Z 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-25T15:37:59.070120Z 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-25T15:37:59.070596Z 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-25T15:37:59.070793Z 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-25T15:37:59.070838Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.070870Z 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-25T15:37:59.070888Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.070905Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.070929Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071083Z 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": "Sun, 25 Jan 2026 15:37:58 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:41294, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071136Z 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": "Sun, 25 Jan 2026 15:37:58 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:41294, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071405Z 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": "Sun, 25 Jan 2026 15:37:58 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:41294, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071450Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071472Z 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-25T15:37:59.071485Z 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-25T15:37:59.071595Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071634Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071651Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46416) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.071979Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.072284Z  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-25T15:37:59.072313Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.072467Z  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-25T15:37:59.072790Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.072860Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.072980Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073151Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46420 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073218Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46420) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073244Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073401Z 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-25T15:37:59.073436Z 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-25T15:37:59.073466Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073493Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.073505Z 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-25T15:37:59.073522Z 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-25T15:37:59.073835Z 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-25T15:37:59.074291Z 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-25T15:37:59.074327Z 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-25T15:37:59.074344Z 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-25T15:37:59.074649Z 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-25T15:37:59.074825Z 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-25T15:37:59.074870Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.074902Z 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-25T15:37:59.074920Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.074938Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.074961Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.074996Z 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": "Sun, 25 Jan 2026 15:37:58 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:41306, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.075041Z 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": "Sun, 25 Jan 2026 15:37:58 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:41306, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.075305Z 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": "Sun, 25 Jan 2026 15:37:58 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:41306, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.075348Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.075369Z 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-25T15:37:59.075381Z 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-25T15:37:59.075881Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.076165Z  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-25T15:37:59.076195Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.076363Z  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-25T15:37:59.076684Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.076754Z 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-25T15:37:59.076786Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46420) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.076944Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077013Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077180Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46422 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077237Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46422) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077274Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077387Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077591Z 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-25T15:37:59.077627Z 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-25T15:37:59.077652Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077678Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.077692Z 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-25T15:37:59.077707Z 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-25T15:37:59.077986Z 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-25T15:37:59.078538Z 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-25T15:37:59.078570Z 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-25T15:37:59.078585Z 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-25T15:37:59.078881Z 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-25T15:37:59.079034Z 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-25T15:37:59.079079Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079112Z 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-25T15:37:59.079131Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079148Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079170Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079208Z 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": "Sun, 25 Jan 2026 15:37:58 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:41310, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079273Z 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": "Sun, 25 Jan 2026 15:37:58 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:41310, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079549Z 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": "Sun, 25 Jan 2026 15:37:58 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:41310, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079601Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.079624Z 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-25T15:37:59.079637Z 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-25T15:37:59.080139Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.080424Z  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-25T15:37:59.080453Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.080605Z  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-25T15:37:59.080944Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.080993Z 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-25T15:37:59.081025Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46422) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081183Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081258Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081383Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081551Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46424 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081612Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46424) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081633Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081786Z 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-25T15:37:59.081821Z 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-25T15:37:59.081846Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081871Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.081885Z 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-25T15:37:59.081900Z 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-25T15:37:59.082057Z 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-25T15:37:59.082301Z 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-25T15:37:59.082329Z 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-25T15:37:59.082346Z 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-25T15:37:59.082841Z 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-25T15:37:59.083017Z 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-25T15:37:59.083065Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083099Z 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-25T15:37:59.083120Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083141Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083168Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083356Z 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": "Sun, 25 Jan 2026 15:37:58 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:41320, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083415Z 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": "Sun, 25 Jan 2026 15:37:58 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:41320, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083684Z 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": "Sun, 25 Jan 2026 15:37:58 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:41320, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083754Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083780Z 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-25T15:37:59.083793Z 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-25T15:37:59.083911Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083958Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.083976Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46424) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.084311Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.084629Z  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-25T15:37:59.084663Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.084854Z  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-25T15:37:59.085166Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085240Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085383Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085574Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46438 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085648Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46438) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085674Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085842Z 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-25T15:37:59.085879Z 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-25T15:37:59.085905Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085929Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.085940Z 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-25T15:37:59.085956Z 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-25T15:37:59.086218Z 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-25T15:37:59.086664Z 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-25T15:37:59.086694Z 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-25T15:37:59.086709Z 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-25T15:37:59.087012Z 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-25T15:37:59.087159Z 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-25T15:37:59.087201Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087233Z 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-25T15:37:59.087275Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087295Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087318Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087356Z 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": "Sun, 25 Jan 2026 15:37:58 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:41330, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087400Z 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": "Sun, 25 Jan 2026 15:37:58 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:41330, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087657Z 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": "Sun, 25 Jan 2026 15:37:58 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:41330, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087703Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.087745Z 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-25T15:37:59.087759Z 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-25T15:37:59.088235Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.088532Z  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-25T15:37:59.088561Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.088714Z  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-25T15:37:59.089054Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089106Z 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-25T15:37:59.089225Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089462Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089589Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089694Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46438) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089855Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46440 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089914Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46440) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.089937Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.090066Z 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-25T15:37:59.090103Z 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-25T15:37:59.090130Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.090154Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.090166Z 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-25T15:37:59.090182Z 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-25T15:37:59.090346Z 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-25T15:37:59.090583Z 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-25T15:37:59.090611Z 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-25T15:37:59.090626Z 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-25T15:37:59.091138Z 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-25T15:37:59.091325Z 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-25T15:37:59.091374Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.091413Z 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-25T15:37:59.091435Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.091455Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.091483Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.091656Z 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": "Sun, 25 Jan 2026 15:37:58 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:41342, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.091711Z 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": "Sun, 25 Jan 2026 15:37:58 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:41342, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092011Z 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": "Sun, 25 Jan 2026 15:37:58 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:41342, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092062Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092087Z 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-25T15:37:59.092102Z 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-25T15:37:59.092216Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092274Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092294Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46440) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092621Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.092952Z  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-25T15:37:59.092986Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.093151Z  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-25T15:37:59.093474Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.093554Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.093685Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.093899Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46450 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.093967Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46450) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.093992Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.094169Z 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-25T15:37:59.094208Z 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-25T15:37:59.094235Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.094273Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.094287Z 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-25T15:37:59.094300Z 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-25T15:37:59.094457Z 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-25T15:37:59.094691Z 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-25T15:37:59.094716Z 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-25T15:37:59.094752Z 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-25T15:37:59.095232Z 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-25T15:37:59.095424Z 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-25T15:37:59.095470Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.095505Z 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-25T15:37:59.095528Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.095548Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.095573Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.095762Z 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": "Sun, 25 Jan 2026 15:37:58 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:41356, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.095813Z 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": "Sun, 25 Jan 2026 15:37:58 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:41356, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096053Z 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": "Sun, 25 Jan 2026 15:37:58 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:41356, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096097Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096117Z 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-25T15:37:59.096128Z 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-25T15:37:59.096234Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096284Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096299Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46450) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096620Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.096948Z  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-25T15:37:59.096978Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.097135Z  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-25T15:37:59.097455Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.097532Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.097668Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.097890Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46460 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.097958Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46460) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.097983Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.098127Z 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-25T15:37:59.098164Z 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-25T15:37:59.098190Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.098217Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.098228Z 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-25T15:37:59.098242Z 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-25T15:37:59.098416Z 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-25T15:37:59.098660Z 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-25T15:37:59.098690Z 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-25T15:37:59.098707Z 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-25T15:37:59.099164Z 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-25T15:37:59.099362Z 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-25T15:37:59.099409Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.099444Z 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-25T15:37:59.099465Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.099485Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.099512Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.099680Z 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": "Sun, 25 Jan 2026 15:37:58 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:41358, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.099761Z 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": "Sun, 25 Jan 2026 15:37:58 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:41358, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100035Z 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": "Sun, 25 Jan 2026 15:37:58 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:41358, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100095Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100126Z 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-25T15:37:59.100778Z 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-25T15:37:59.100943Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100992Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.101011Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46460) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100438Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.100649Z  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-25T15:37:59.101222Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-length": "13", "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-25T15:37:59.101418Z  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-25T15:37:59.101776Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.101847Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.101976Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102155Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46462 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102224Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46462) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102260Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102418Z 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-25T15:37:59.102457Z 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-25T15:37:59.102486Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102513Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.102525Z 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-25T15:37:59.102541Z 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-25T15:37:59.102700Z 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-25T15:37:59.102968Z 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-25T15:37:59.103001Z 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-25T15:37:59.103021Z 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-25T15:37:59.103213Z 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-25T15:37:59.103445Z 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-25T15:37:59.103541Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.103650Z 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-25T15:37:59.103757Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.103831Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.103917Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.104013Z 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": "Sun, 25 Jan 2026 15:37:58 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:41360, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.104273Z 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": "Sun, 25 Jan 2026 15:37:58 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:41360, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.104828Z 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": "Sun, 25 Jan 2026 15:37:58 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:41360, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.104884Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.104908Z 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-25T15:37:59.104921Z 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-25T15:37:59.105044Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.105089Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.105106Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46462) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.105394Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.106953Z  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-25T15:37:59.107002Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.107178Z  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-25T15:37:59.107535Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.107624Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.107801Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.107907Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46464 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.107987Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46464) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.108014Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.108185Z 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-25T15:37:59.108222Z 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-25T15:37:59.108251Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.108278Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.108292Z 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-25T15:37:59.108308Z 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-25T15:37:59.108466Z 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-25T15:37:59.108896Z 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-25T15:37:59.108930Z 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-25T15:37:59.108945Z 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-25T15:37:59.109329Z 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-25T15:37:59.109806Z 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-25T15:37:59.109989Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.110253Z 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-25T15:37:59.110413Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.110463Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.110492Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.110696Z 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": "Sun, 25 Jan 2026 15:37:58 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:41372, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.110773Z 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": "Sun, 25 Jan 2026 15:37:58 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:41372, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111037Z 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": "Sun, 25 Jan 2026 15:37:58 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:41372, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111090Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111135Z 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-25T15:37:59.111152Z 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-25T15:37:59.111283Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111329Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111348Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46464) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111497Z  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-25T15:37:59.111535Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.111620Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.111933Z  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-25T15:37:59.112243Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.112326Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.112461Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.112548Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46468 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.112841Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46468) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.113031Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.113367Z 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-25T15:37:59.113565Z 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-25T15:37:59.113716Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.113979Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.114150Z 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-25T15:37:59.114316Z 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-25T15:37:59.114859Z 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-25T15:37:59.115870Z 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-25T15:37:59.116422Z 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-25T15:37:59.116492Z 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-25T15:37:59.116384Z 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-25T15:37:59.116827Z 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-25T15:37:59.116978Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.117065Z 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-25T15:37:59.117231Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.117303Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.117386Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.117549Z 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": "Sun, 25 Jan 2026 15:37:58 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:41384, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.123809Z 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": "Sun, 25 Jan 2026 15:37:58 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:41384, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.124581Z 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": "Sun, 25 Jan 2026 15:37:58 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:41384, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.124835Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.124906Z 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-25T15:37:59.125148Z 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-25T15:37:59.125701Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.125917Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.126396Z 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-25T15:37:59.126433Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46468) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.126201Z  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-25T15:37:59.126539Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.126711Z  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-25T15:37:59.127247Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127331Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127566Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127751Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46470 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127814Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46470) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127836Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.127979Z 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-25T15:37:59.128012Z 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-25T15:37:59.128038Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.128105Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.128118Z 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-25T15:37:59.128132Z 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-25T15:37:59.128404Z 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-25T15:37:59.128805Z 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-25T15:37:59.128840Z 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-25T15:37:59.128857Z 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-25T15:37:59.129145Z 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-25T15:37:59.129296Z 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-25T15:37:59.129340Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129371Z 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-25T15:37:59.129387Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129402Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129424Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129456Z 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": "Sun, 25 Jan 2026 15:37:58 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:41396, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129495Z 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": "Sun, 25 Jan 2026 15:37:58 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:41396, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129761Z 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": "Sun, 25 Jan 2026 15:37:58 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:41396, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129809Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.129830Z 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-25T15:37:59.129842Z 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-25T15:37:59.130305Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.130591Z  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-25T15:37:59.130622Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.130817Z  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-25T15:37:59.131134Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131181Z 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-25T15:37:59.131211Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46470) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131366Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131434Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131614Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46472 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131671Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46472) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131692Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.131824Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.132025Z 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-25T15:37:59.132062Z 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-25T15:37:59.132088Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.132111Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.132123Z 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-25T15:37:59.132137Z 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-25T15:37:59.132398Z 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-25T15:37:59.132916Z 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-25T15:37:59.132949Z 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-25T15:37:59.132964Z 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-25T15:37:59.133234Z 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-25T15:37:59.133383Z 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-25T15:37:59.133427Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133460Z 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-25T15:37:59.133478Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133496Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133529Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133567Z 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": "Sun, 25 Jan 2026 15:37:58 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:41398, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133611Z 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": "Sun, 25 Jan 2026 15:37:58 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:41398, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133884Z 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": "Sun, 25 Jan 2026 15:37:58 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:41398, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133931Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.133952Z 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-25T15:37:59.133964Z 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-25T15:37:59.134470Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.134788Z  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-25T15:37:59.134821Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.134976Z  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-25T15:37:59.135305Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135353Z 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-25T15:37:59.135385Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46472) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135558Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135635Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135824Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46488 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135887Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46488) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.135909Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.136026Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.136240Z 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-25T15:37:59.136280Z 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-25T15:37:59.136307Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.136334Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.136347Z 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-25T15:37:59.136364Z 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-25T15:37:59.136655Z 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-25T15:37:59.137077Z 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-25T15:37:59.137110Z 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-25T15:37:59.137127Z 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-25T15:37:59.137415Z 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-25T15:37:59.137703Z 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-25T15:37:59.137768Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.137801Z 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-25T15:37:59.137818Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.137835Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.137858Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.137895Z 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": "Sun, 25 Jan 2026 15:37:58 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:41404, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.137942Z 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": "Sun, 25 Jan 2026 15:37:58 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:41404, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.138227Z 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": "Sun, 25 Jan 2026 15:37:58 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:41404, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.138282Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.138307Z 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-25T15:37:59.138321Z 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-25T15:37:59.138846Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.139126Z  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-25T15:37:59.139158Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.139321Z  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-25T15:37:59.139661Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.139708Z 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-25T15:37:59.139762Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46488) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.139949Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140023Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140194Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46496 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140251Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46496) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140273Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140377Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140573Z 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-25T15:37:59.140607Z 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-25T15:37:59.140630Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140651Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.140661Z 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-25T15:37:59.140673Z 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-25T15:37:59.140934Z 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-25T15:37:59.141451Z 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-25T15:37:59.141482Z 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-25T15:37:59.141508Z 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-25T15:37:59.141794Z 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-25T15:37:59.141940Z 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-25T15:37:59.141983Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142014Z 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-25T15:37:59.142031Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142049Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142070Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142106Z 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": "Sun, 25 Jan 2026 15:37:58 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:41408, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142150Z 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": "Sun, 25 Jan 2026 15:37:58 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:41408, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142750Z 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": "Sun, 25 Jan 2026 15:37:58 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:41408, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142802Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142823Z 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-25T15:37:59.142834Z 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-25T15:37:59.142939Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142977Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.142994Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46496) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.143249Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.143556Z  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-25T15:37:59.143586Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.143760Z  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-25T15:37:59.144039Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144109Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144231Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144420Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46508 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144479Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46508) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144515Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144657Z 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-25T15:37:59.144692Z 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-25T15:37:59.144718Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144771Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.144783Z 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-25T15:37:59.144797Z 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-25T15:37:59.144944Z 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-25T15:37:59.145167Z 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-25T15:37:59.145191Z 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-25T15:37:59.145206Z 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-25T15:37:59.145648Z 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-25T15:37:59.145831Z 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-25T15:37:59.145874Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.145905Z 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-25T15:37:59.145923Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.145941Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.145964Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146119Z 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": "Sun, 25 Jan 2026 15:37:58 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:41410, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146173Z 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": "Sun, 25 Jan 2026 15:37:58 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:41410, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146427Z 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": "Sun, 25 Jan 2026 15:37:58 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:41410, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146469Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146489Z 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-25T15:37:59.146512Z 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-25T15:37:59.146616Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146656Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146672Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46508) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.146985Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.147263Z  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-25T15:37:59.147294Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.147442Z  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-25T15:37:59.147759Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.147832Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.147949Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148116Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46514 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148180Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46514) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148202Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148333Z 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-25T15:37:59.148367Z 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-25T15:37:59.148393Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148417Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.148430Z 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-25T15:37:59.148444Z 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-25T15:37:59.148607Z 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-25T15:37:59.148874Z 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-25T15:37:59.148902Z 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-25T15:37:59.148918Z 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-25T15:37:59.149375Z 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-25T15:37:59.149577Z 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-25T15:37:59.149687Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.149744Z 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-25T15:37:59.149766Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.149781Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.149801Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.149954Z 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": "Sun, 25 Jan 2026 15:37:58 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:41412, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150003Z 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": "Sun, 25 Jan 2026 15:37:58 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:41412, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150268Z 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": "Sun, 25 Jan 2026 15:37:58 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:41412, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150314Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150336Z 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-25T15:37:59.150348Z 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-25T15:37:59.150459Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150516Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150535Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46514) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.150868Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.151157Z  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-25T15:37:59.151189Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.151344Z  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-25T15:37:59.151642Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.151707Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.151856Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152022Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46520 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152084Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46520) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152105Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152236Z 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-25T15:37:59.152268Z 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-25T15:37:59.152292Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152314Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.152324Z 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-25T15:37:59.152336Z 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-25T15:37:59.152468Z 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-25T15:37:59.152677Z 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-25T15:37:59.152698Z 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-25T15:37:59.152711Z 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-25T15:37:59.153107Z 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-25T15:37:59.153275Z 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-25T15:37:59.153316Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153344Z 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-25T15:37:59.153360Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153375Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153397Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153559Z 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": "Sun, 25 Jan 2026 15:37:58 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:41416, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153609Z 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": "Sun, 25 Jan 2026 15:37:58 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:41416, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153859Z 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": "Sun, 25 Jan 2026 15:37:58 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:41416, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153901Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.153921Z 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-25T15:37:59.153932Z 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-25T15:37:59.154029Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.154069Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.154084Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46520) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.154385Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.154668Z  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-25T15:37:59.154696Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-type": "text/plain", "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-25T15:37:59.154862Z  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-25T15:37:59.155131Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155195Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155303Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155463Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46532 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155538Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46532) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155561Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155697Z 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-25T15:37:59.155754Z 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-25T15:37:59.155782Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155805Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.155816Z 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-25T15:37:59.155830Z 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-25T15:37:59.155977Z 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-25T15:37:59.156190Z 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-25T15:37:59.156214Z 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-25T15:37:59.156228Z 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-25T15:37:59.156686Z 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-25T15:37:59.156852Z 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-25T15:37:59.156894Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.156927Z 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-25T15:37:59.156945Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.156963Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.156983Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.157019Z 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": "Sun, 25 Jan 2026 15:37:58 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:41418, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.157064Z 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": "Sun, 25 Jan 2026 15:37:58 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:41418, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.157313Z 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": "Sun, 25 Jan 2026 15:37:58 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:41418, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.157358Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.157378Z 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-25T15:37:59.157389Z 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-25T15:37:59.157894Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.158160Z  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-25T15:37:59.158191Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.158344Z  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-25T15:37:59.158662Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.158709Z 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-25T15:37:59.158764Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46532) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.158916Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.158983Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159143Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46536 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159198Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46536) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159219Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159329Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159541Z 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-25T15:37:59.159577Z 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-25T15:37:59.159603Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.159627Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.161358Z 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-25T15:37:59.161391Z 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-25T15:37:59.161770Z 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-25T15:37:59.162215Z 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-25T15:37:59.162243Z 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-25T15:37:59.162261Z 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-25T15:37:59.162572Z 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-25T15:37:59.162717Z 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-25T15:37:59.162782Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.162817Z 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-25T15:37:59.162834Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.162850Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.162874Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.162912Z 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": "Sun, 25 Jan 2026 15:37:58 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:41432, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.162959Z 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": "Sun, 25 Jan 2026 15:37:58 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:41432, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.163218Z 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": "Sun, 25 Jan 2026 15:37:58 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:41432, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.163265Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.163287Z 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-25T15:37:59.163298Z 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-25T15:37:59.163809Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.164101Z  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-25T15:37:59.164134Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-type": "text/plain", "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-25T15:37:59.164290Z  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-25T15:37:59.164613Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.164661Z 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-25T15:37:59.164694Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46536) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.164875Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.164950Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165071Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165260Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46552 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165320Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46552) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165343Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165480Z 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-25T15:37:59.165526Z 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-25T15:37:59.165555Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165581Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.165596Z 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-25T15:37:59.165612Z 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-25T15:37:59.165784Z 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-25T15:37:59.166030Z 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-25T15:37:59.166057Z 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-25T15:37:59.166073Z 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-25T15:37:59.166547Z 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-25T15:37:59.166714Z 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-25T15:37:59.166776Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.166809Z 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-25T15:37:59.166830Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.166849Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.166873Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.167039Z 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": "Sun, 25 Jan 2026 15:37:58 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:41438, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.167096Z 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": "Sun, 25 Jan 2026 15:37:58 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:41438, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.167464Z 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": "Sun, 25 Jan 2026 15:37:58 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:41438, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.167522Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.167546Z 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-25T15:37:59.167560Z 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-25T15:37:59.167675Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.168002Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.168304Z  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-25T15:37:59.168334Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-length": "13", "connection": "close", "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-25T15:37:59.168483Z  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-25T15:37:59.167717Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.168743Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46552) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.168902Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.168971Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169140Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46562 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169199Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46562) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169221Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169333Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169532Z 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-25T15:37:59.169569Z 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-25T15:37:59.169595Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169625Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.169638Z 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-25T15:37:59.169652Z 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-25T15:37:59.169822Z 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-25T15:37:59.170065Z 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-25T15:37:59.170091Z 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-25T15:37:59.170106Z 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-25T15:37:59.170611Z 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-25T15:37:59.170803Z 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-25T15:37:59.170849Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.170882Z 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-25T15:37:59.170901Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.170917Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.170941Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.171100Z 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": "Sun, 25 Jan 2026 15:37:58 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:41444, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.171153Z 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": "Sun, 25 Jan 2026 15:37:58 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:41444, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.171940Z 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": "Sun, 25 Jan 2026 15:37:58 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:41444, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.171991Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.172013Z 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-25T15:37:59.172026Z 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-25T15:37:59.172143Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.172185Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.172201Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46562) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.172431Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.172772Z  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-25T15:37:59.172804Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.173061Z  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-25T15:37:59.173353Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173435Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173568Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173671Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46566 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173761Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46566) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173787Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.173938Z 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-25T15:37:59.173973Z 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-25T15:37:59.174000Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.174025Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.174038Z 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-25T15:37:59.174055Z 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-25T15:37:59.174232Z 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-25T15:37:59.174477Z 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-25T15:37:59.174515Z 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-25T15:37:59.174531Z 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-25T15:37:59.175035Z 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-25T15:37:59.175187Z 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-25T15:37:59.175232Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175267Z 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-25T15:37:59.175287Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175306Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175330Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175368Z 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": "Sun, 25 Jan 2026 15:37:58 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:41460, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175413Z 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": "Sun, 25 Jan 2026 15:37:58 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:41460, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175715Z 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": "Sun, 25 Jan 2026 15:37:58 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:41460, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175784Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.175832Z 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-25T15:37:59.175851Z 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-25T15:37:59.175955Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.176149Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.176193Z 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-25T15:37:59.176223Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46566) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.176237Z  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-25T15:37:59.176278Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "connection": "close", "x-custom": "unique", "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-25T15:37:59.176440Z  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-25T15:37:59.176717Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.176809Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.176947Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177011Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46574 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177080Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46574) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177105Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177255Z 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-25T15:37:59.177301Z 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-25T15:37:59.177335Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177368Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.177388Z 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-25T15:37:59.177409Z 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-25T15:37:59.177694Z 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-25T15:37:59.178452Z 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-25T15:37:59.178496Z 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-25T15:37:59.178529Z 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-25T15:37:59.178833Z 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-25T15:37:59.178992Z 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-25T15:37:59.179044Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179079Z 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-25T15:37:59.179098Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179117Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179142Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179179Z 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": "Sun, 25 Jan 2026 15:37:58 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:41476, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179224Z 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": "Sun, 25 Jan 2026 15:37:58 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:41476, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179492Z 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": "Sun, 25 Jan 2026 15:37:58 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:41476, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179560Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179607Z 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-25T15:37:59.179624Z 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-25T15:37:59.179790Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179943Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.179988Z 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-25T15:37:59.180018Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46574) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180047Z  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-25T15:37:59.180074Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.180232Z  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-25T15:37:59.180524Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180601Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180754Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180860Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46584 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180924Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46584) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.180947Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.181080Z 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-25T15:37:59.181114Z 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-25T15:37:59.181139Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.181165Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.181177Z 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-25T15:37:59.181191Z 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-25T15:37:59.181455Z 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-25T15:37:59.182186Z 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-25T15:37:59.182217Z 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-25T15:37:59.182233Z 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-25T15:37:59.182521Z 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-25T15:37:59.182670Z 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-25T15:37:59.182712Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.182766Z 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-25T15:37:59.182785Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.182803Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.182825Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.182862Z 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": "Sun, 25 Jan 2026 15:37:58 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:41490, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.182903Z 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": "Sun, 25 Jan 2026 15:37:58 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:41490, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183223Z 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": "Sun, 25 Jan 2026 15:37:58 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:41490, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183278Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183322Z 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-25T15:37:59.183341Z 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-25T15:37:59.183443Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183647Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183694Z 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-25T15:37:59.183717Z  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-25T15:37:59.183742Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46584) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.183765Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "connection": "close", "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-25T15:37:59.183924Z  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-25T15:37:59.184209Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184297Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184432Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184486Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46588 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184566Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46588) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184590Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184716Z 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-25T15:37:59.184768Z 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-25T15:37:59.184792Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184815Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.184826Z 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-25T15:37:59.184841Z 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-25T15:37:59.185128Z 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-25T15:37:59.185849Z 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-25T15:37:59.185880Z 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-25T15:37:59.185896Z 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-25T15:37:59.186158Z 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-25T15:37:59.186306Z 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-25T15:37:59.186353Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186387Z 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-25T15:37:59.186408Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186427Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186451Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186489Z 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": "Sun, 25 Jan 2026 15:37:58 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:41492, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186546Z 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": "Sun, 25 Jan 2026 15:37:58 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:41492, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186880Z 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": "Sun, 25 Jan 2026 15:37:58 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:41492, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186936Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.186981Z 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-25T15:37:59.186998Z 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-25T15:37:59.187111Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.187301Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.187348Z 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-25T15:37:59.187377Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46588) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.187409Z  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-25T15:37:59.187435Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.187594Z  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-25T15:37:59.187898Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.187974Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188103Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188177Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46600 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188242Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46600) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188268Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188399Z 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-25T15:37:59.188433Z 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-25T15:37:59.188459Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188484Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.188496Z 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-25T15:37:59.188525Z 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-25T15:37:59.188819Z 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-25T15:37:59.189605Z 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-25T15:37:59.189637Z 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-25T15:37:59.189653Z 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-25T15:37:59.189960Z 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-25T15:37:59.190110Z 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-25T15:37:59.190158Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190192Z 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-25T15:37:59.190211Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190229Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190255Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190295Z 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": "Sun, 25 Jan 2026 15:37:58 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:41500, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190340Z 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": "Sun, 25 Jan 2026 15:37:58 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:41500, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190658Z 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": "Sun, 25 Jan 2026 15:37:58 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:41500, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190712Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.190786Z 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-25T15:37:59.190804Z 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-25T15:37:59.191111Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.191127Z  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-25T15:37:59.191158Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.191172Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46600) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.191155Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.191243Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.191552Z  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-25T15:37:59.191883Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.191956Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192085Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192218Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46606 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192287Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46606) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192310Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192452Z 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-25T15:37:59.192487Z 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-25T15:37:59.192524Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192551Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.192563Z 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-25T15:37:59.192578Z 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-25T15:37:59.192897Z 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-25T15:37:59.193584Z 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-25T15:37:59.193616Z 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-25T15:37:59.193632Z 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-25T15:37:59.193952Z 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-25T15:37:59.194126Z 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-25T15:37:59.194173Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194207Z 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-25T15:37:59.194229Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194247Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194274Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194312Z 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": "Sun, 25 Jan 2026 15:37:58 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:41516, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194356Z 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": "Sun, 25 Jan 2026 15:37:58 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:41516, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194653Z 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": "Sun, 25 Jan 2026 15:37:58 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:41516, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194706Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.194774Z 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-25T15:37:59.194793Z 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-25T15:37:59.194898Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.195093Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.195138Z 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-25T15:37:59.195168Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46606) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.195180Z  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-25T15:37:59.195206Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.195377Z  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-25T15:37:59.195833Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.195908Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196034Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196183Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46618 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196243Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46618) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196265Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196395Z 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-25T15:37:59.196428Z 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-25T15:37:59.196452Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196478Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.196489Z 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-25T15:37:59.196516Z 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-25T15:37:59.196792Z 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-25T15:37:59.197591Z 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-25T15:37:59.197624Z 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-25T15:37:59.197640Z 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-25T15:37:59.197928Z 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-25T15:37:59.198079Z 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-25T15:37:59.198125Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198159Z 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-25T15:37:59.198182Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198202Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198227Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198268Z 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": "Sun, 25 Jan 2026 15:37:58 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:41528, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198314Z 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": "Sun, 25 Jan 2026 15:37:58 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:41528, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198635Z 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": "Sun, 25 Jan 2026 15:37:58 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:41528, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198691Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.198756Z 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-25T15:37:59.198774Z 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-25T15:37:59.198875Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.199068Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.199113Z 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-25T15:37:59.199143Z  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-25T15:37:59.199143Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46618) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.199166Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "x-custom": "unique", "content-length": "13", "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-25T15:37:59.199334Z  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-25T15:37:59.199607Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.199683Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.199824Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200326Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46634 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200389Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46634) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200411Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200554Z 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-25T15:37:59.200589Z 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-25T15:37:59.200615Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200642Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.200655Z 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-25T15:37:59.200670Z 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-25T15:37:59.200956Z 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-25T15:37:59.201749Z 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-25T15:37:59.201784Z 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-25T15:37:59.201801Z 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-25T15:37:59.202095Z 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-25T15:37:59.202253Z 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-25T15:37:59.202302Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202338Z 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-25T15:37:59.202358Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202377Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202401Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202441Z 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": "Sun, 25 Jan 2026 15:37:58 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:41542, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202489Z 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": "Sun, 25 Jan 2026 15:37:58 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:41542, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202803Z 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": "Sun, 25 Jan 2026 15:37:58 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:41542, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202860Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.202902Z 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-25T15:37:59.202918Z 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-25T15:37:59.203037Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.203217Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.203265Z 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-25T15:37:59.203296Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46634) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.203337Z  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-25T15:37:59.203367Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.203528Z  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-25T15:37:59.203923Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204133Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204292Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204535Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46642 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204609Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46642) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204634Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204796Z 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-25T15:37:59.204833Z 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-25T15:37:59.204861Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204889Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.204902Z 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-25T15:37:59.204918Z 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-25T15:37:59.205076Z 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-25T15:37:59.205344Z 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-25T15:37:59.205376Z 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-25T15:37:59.205394Z 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-25T15:37:59.205572Z 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-25T15:37:59.205814Z 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-25T15:37:59.205872Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.205907Z 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-25T15:37:59.205928Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.205945Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.205969Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.206018Z 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": "Sun, 25 Jan 2026 15:37:58 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:41554, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.206069Z 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": "Sun, 25 Jan 2026 15:37:58 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:41554, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.206347Z 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": "Sun, 25 Jan 2026 15:37:58 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:41554, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.206399Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.206421Z 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-25T15:37:59.206434Z 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-25T15:37:59.206925Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.207236Z  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-25T15:37:59.207280Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "connection": "close", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.207446Z  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-25T15:37:59.207801Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.207852Z 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-25T15:37:59.207887Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46642) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208054Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208125Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208260Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208434Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46650 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208501Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46650) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208530Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208679Z 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-25T15:37:59.208716Z 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-25T15:37:59.208765Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208791Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.208803Z 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-25T15:37:59.208816Z 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-25T15:37:59.209137Z 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-25T15:37:59.209640Z 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-25T15:37:59.209671Z 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-25T15:37:59.209687Z 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-25T15:37:59.210000Z 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-25T15:37:59.210152Z 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-25T15:37:59.210199Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210234Z 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-25T15:37:59.210265Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210288Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210314Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210354Z 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": "Sun, 25 Jan 2026 15:37:58 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:41564, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210405Z 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": "Sun, 25 Jan 2026 15:37:58 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:41564, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210683Z 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": "Sun, 25 Jan 2026 15:37:58 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:41564, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210751Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.210777Z 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-25T15:37:59.210789Z 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-25T15:37:59.211263Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.211542Z  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-25T15:37:59.211573Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.211749Z  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-25T15:37:59.212050Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212098Z 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-25T15:37:59.212131Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46650) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212309Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212384Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212548Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46666 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212608Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46666) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212631Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212791Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.212993Z 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-25T15:37:59.213030Z 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-25T15:37:59.213057Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.213084Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.213097Z 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-25T15:37:59.213112Z 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-25T15:37:59.213274Z 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-25T15:37:59.213516Z 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-25T15:37:59.213548Z 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-25T15:37:59.213566Z 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-25T15:37:59.214043Z 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-25T15:37:59.214234Z 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-25T15:37:59.214289Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214324Z 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-25T15:37:59.214348Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214368Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214394Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214566Z 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": "Sun, 25 Jan 2026 15:37:58 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:41576, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214623Z 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": "Sun, 25 Jan 2026 15:37:58 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:41576, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214915Z 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": "Sun, 25 Jan 2026 15:37:58 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:41576, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214968Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.214992Z 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-25T15:37:59.215005Z 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-25T15:37:59.215122Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.215169Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.215188Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46666) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.215500Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.215812Z  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-25T15:37:59.215843Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "x-custom": "unique", "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-25T15:37:59.216005Z  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-25T15:37:59.216321Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216396Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216523Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216700Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46676 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216791Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46676) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216816Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.216953Z 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-25T15:37:59.216988Z 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-25T15:37:59.217015Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.217039Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.217053Z 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-25T15:37:59.217067Z 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-25T15:37:59.217220Z 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-25T15:37:59.217473Z 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-25T15:37:59.217503Z 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-25T15:37:59.217519Z 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-25T15:37:59.217999Z 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-25T15:37:59.218165Z 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-25T15:37:59.218212Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218258Z 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-25T15:37:59.218283Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218302Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218328Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218486Z 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": "Sun, 25 Jan 2026 15:37:58 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:41582, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218542Z 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": "Sun, 25 Jan 2026 15:37:58 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:41582, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218829Z 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": "Sun, 25 Jan 2026 15:37:58 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:41582, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218877Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.218900Z 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-25T15:37:59.218916Z 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-25T15:37:59.219029Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.219075Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.219094Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46676) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.219395Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.219693Z  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-25T15:37:59.219742Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-type": "text/plain", "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-25T15:37:59.219904Z  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-25T15:37:59.220173Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220235Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220362Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220530Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46686 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220588Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46686) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220609Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220752Z 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-25T15:37:59.220785Z 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-25T15:37:59.220809Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220831Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.220843Z 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-25T15:37:59.220856Z 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-25T15:37:59.221002Z 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-25T15:37:59.221231Z 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-25T15:37:59.221264Z 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-25T15:37:59.221280Z 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-25T15:37:59.221690Z 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-25T15:37:59.221868Z 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-25T15:37:59.221910Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.221940Z 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-25T15:37:59.221958Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.221974Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.221996Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222146Z 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": "Sun, 25 Jan 2026 15:37:58 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:41594, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222196Z 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": "Sun, 25 Jan 2026 15:37:58 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:41594, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222456Z 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": "Sun, 25 Jan 2026 15:37:58 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:41594, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222495Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222515Z 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-25T15:37:59.222526Z 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-25T15:37:59.222627Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222668Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222683Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46686) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.222956Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.223214Z  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-25T15:37:59.223240Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "connection": "close", "content-type": "text/plain", "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-25T15:37:59.223383Z  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-25T15:37:59.223649Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.223713Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.223846Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224002Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46700 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224056Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46700) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224077Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224194Z 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-25T15:37:59.224226Z 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-25T15:37:59.224259Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224282Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.224294Z 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-25T15:37:59.224308Z 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-25T15:37:59.224451Z 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-25T15:37:59.224674Z 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-25T15:37:59.224698Z 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-25T15:37:59.224713Z 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-25T15:37:59.225149Z 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-25T15:37:59.225356Z 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-25T15:37:59.225400Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225431Z 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-25T15:37:59.225450Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225469Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225492Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225652Z 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": "Sun, 25 Jan 2026 15:37:58 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:41602, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225704Z 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": "Sun, 25 Jan 2026 15:37:58 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:41602, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.225989Z 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": "Sun, 25 Jan 2026 15:37:58 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:41602, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226032Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226052Z 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-25T15:37:59.226064Z 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-25T15:37:59.226171Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226210Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226227Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46700) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226492Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.226759Z  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-25T15:37:59.226789Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.226933Z  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-25T15:37:59.227236Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227322Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227442Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227611Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46714 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227674Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46714) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227697Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227841Z 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-25T15:37:59.227876Z 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-25T15:37:59.227899Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227922Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.227936Z 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-25T15:37:59.227953Z 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-25T15:37:59.228206Z 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-25T15:37:59.228593Z 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-25T15:37:59.228632Z 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-25T15:37:59.228649Z 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-25T15:37:59.228935Z 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-25T15:37:59.229081Z 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-25T15:37:59.229126Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229158Z 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-25T15:37:59.229177Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229194Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229218Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229267Z 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": "Sun, 25 Jan 2026 15:37:58 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:41604, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229312Z 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": "Sun, 25 Jan 2026 15:37:58 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:41604, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229571Z 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": "Sun, 25 Jan 2026 15:37:58 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:41604, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229618Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.229640Z 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-25T15:37:59.229653Z 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-25T15:37:59.230096Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.230369Z  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-25T15:37:59.230398Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.230552Z  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-25T15:37:59.230892Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.230939Z 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-25T15:37:59.230971Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46714) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231119Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231186Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231315Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231475Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46718 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231537Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46718) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231558Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231684Z 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-25T15:37:59.231716Z 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-25T15:37:59.231763Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231787Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.231798Z 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-25T15:37:59.231812Z 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-25T15:37:59.231959Z 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-25T15:37:59.232180Z 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-25T15:37:59.232205Z 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-25T15:37:59.232220Z 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-25T15:37:59.232670Z 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-25T15:37:59.232848Z 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-25T15:37:59.232894Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.232929Z 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-25T15:37:59.232951Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.232971Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.232995Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233157Z 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": "Sun, 25 Jan 2026 15:37:58 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:41612, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233212Z 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": "Sun, 25 Jan 2026 15:37:58 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:41612, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233498Z 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": "Sun, 25 Jan 2026 15:37:58 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:41612, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233548Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233571Z 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-25T15:37:59.233584Z 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-25T15:37:59.233691Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233751Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.233770Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46718) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.234046Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.234354Z  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-25T15:37:59.234384Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.234536Z  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-25T15:37:59.234873Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.234941Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235060Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235224Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46726 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235299Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46726) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235323Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235454Z 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-25T15:37:59.235489Z 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-25T15:37:59.235518Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235543Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.235556Z 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-25T15:37:59.235571Z 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-25T15:37:59.235742Z 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-25T15:37:59.235975Z 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-25T15:37:59.236002Z 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-25T15:37:59.236017Z 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-25T15:37:59.236466Z 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-25T15:37:59.236631Z 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-25T15:37:59.236674Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.236705Z 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-25T15:37:59.236747Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.236770Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.236793Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.236953Z 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": "Sun, 25 Jan 2026 15:37:58 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:41628, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237005Z 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": "Sun, 25 Jan 2026 15:37:58 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:41628, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237277Z 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": "Sun, 25 Jan 2026 15:37:58 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:41628, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237320Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237340Z 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-25T15:37:59.237354Z 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-25T15:37:59.237460Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237502Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237520Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46726) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.237808Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238067Z  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-25T15:37:59.238093Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "x-custom": "unique", "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-25T15:37:59.238234Z  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-25T15:37:59.238525Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238591Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238705Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238894Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46736 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238954Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46736) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.238977Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.239102Z 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-25T15:37:59.239138Z 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-25T15:37:59.239162Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.239185Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.239197Z 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-25T15:37:59.239212Z 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-25T15:37:59.239370Z 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-25T15:37:59.239612Z 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-25T15:37:59.239640Z 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-25T15:37:59.239656Z 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-25T15:37:59.240090Z 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-25T15:37:59.240263Z 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-25T15:37:59.240310Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.240343Z 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-25T15:37:59.240364Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.240384Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.240406Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.240565Z 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": "Sun, 25 Jan 2026 15:37:58 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:41642, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.240617Z 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": "Sun, 25 Jan 2026 15:37:58 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:41642, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241078Z 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": "Sun, 25 Jan 2026 15:37:58 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:41642, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241130Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241152Z 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-25T15:37:59.241165Z 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-25T15:37:59.241290Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241335Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241352Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46736) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241603Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.241894Z  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-25T15:37:59.241922Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.242062Z  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-25T15:37:59.242342Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242407Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242522Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242681Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46752 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242760Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46752) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242783Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242909Z 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-25T15:37:59.242942Z 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-25T15:37:59.242966Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.242988Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.243000Z 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-25T15:37:59.243013Z 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-25T15:37:59.243158Z 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-25T15:37:59.243404Z 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-25T15:37:59.243429Z 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-25T15:37:59.243445Z 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-25T15:37:59.243870Z 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-25T15:37:59.244027Z 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-25T15:37:59.244067Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244095Z 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-25T15:37:59.244112Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244129Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244153Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244311Z 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": "Sun, 25 Jan 2026 15:37:58 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:41648, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244360Z 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": "Sun, 25 Jan 2026 15:37:58 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:41648, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244612Z 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": "Sun, 25 Jan 2026 15:37:58 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:41648, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244655Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244675Z 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-25T15:37:59.244686Z 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-25T15:37:59.244814Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244860Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.244876Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46752) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.245163Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.245471Z  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-25T15:37:59.245502Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.245657Z  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-25T15:37:59.245966Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246035Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246145Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246320Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46766 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246381Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46766) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246402Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246532Z 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-25T15:37:59.246565Z 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-25T15:37:59.246591Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246615Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.246627Z 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-25T15:37:59.246641Z 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-25T15:37:59.246813Z 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-25T15:37:59.247039Z 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-25T15:37:59.247063Z 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-25T15:37:59.247078Z 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-25T15:37:59.247513Z 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-25T15:37:59.247679Z 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-25T15:37:59.247740Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.247774Z 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-25T15:37:59.247792Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.247811Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.247833Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.247989Z 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": "Sun, 25 Jan 2026 15:37:58 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:41656, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248041Z 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": "Sun, 25 Jan 2026 15:37:58 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:41656, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248314Z 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": "Sun, 25 Jan 2026 15:37:58 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:41656, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248357Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248377Z 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-25T15:37:59.248389Z 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-25T15:37:59.248497Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248541Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248558Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46766) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.248856Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.249128Z  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-25T15:37:59.249157Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "connection": "close", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.249450Z  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-25T15:37:59.249742Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.249816Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.249938Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250137Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46772 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250200Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46772) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250223Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250368Z 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-25T15:37:59.250401Z 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-25T15:37:59.250425Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250449Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.250460Z 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-25T15:37:59.250475Z 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-25T15:37:59.250620Z 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-25T15:37:59.250856Z 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-25T15:37:59.250885Z 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-25T15:37:59.250902Z 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-25T15:37:59.251334Z 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-25T15:37:59.251489Z 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-25T15:37:59.251536Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.251564Z 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-25T15:37:59.251580Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.251595Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.251618Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.251790Z 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": "Sun, 25 Jan 2026 15:37:58 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:41668, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.251842Z 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": "Sun, 25 Jan 2026 15:37:58 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:41668, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252086Z 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": "Sun, 25 Jan 2026 15:37:58 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:41668, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252127Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252146Z 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-25T15:37:59.252156Z 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-25T15:37:59.252267Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252307Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252321Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46772) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252589Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.252878Z  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-25T15:37:59.252907Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.253053Z  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-25T15:37:59.253348Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253413Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253523Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253682Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46774 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253751Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46774) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253773Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253890Z 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-25T15:37:59.253923Z 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-25T15:37:59.253946Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253967Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.253978Z 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-25T15:37:59.253990Z 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-25T15:37:59.254163Z 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-25T15:37:59.254395Z 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-25T15:37:59.254420Z 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-25T15:37:59.254434Z 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-25T15:37:59.254876Z 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-25T15:37:59.255033Z 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-25T15:37:59.255074Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255105Z 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-25T15:37:59.255125Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255141Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255162Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255319Z 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": "Sun, 25 Jan 2026 15:37:58 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:41678, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255369Z 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": "Sun, 25 Jan 2026 15:37:58 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:41678, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255662Z 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": "Sun, 25 Jan 2026 15:37:58 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:41678, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255709Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255745Z 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-25T15:37:59.255758Z 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-25T15:37:59.255866Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255920Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.255938Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46774) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.256205Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.256490Z  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-25T15:37:59.256530Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.256695Z  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-25T15:37:59.257000Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257077Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257207Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257391Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46790 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257462Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46790) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257490Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257622Z 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-25T15:37:59.257665Z 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-25T15:37:59.257692Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257736Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.257757Z 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-25T15:37:59.257780Z 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-25T15:37:59.257938Z 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-25T15:37:59.258164Z 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-25T15:37:59.258196Z 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-25T15:37:59.258213Z 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-25T15:37:59.258664Z 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-25T15:37:59.258871Z 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-25T15:37:59.258921Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.258950Z 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-25T15:37:59.258966Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.258981Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259002Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259150Z 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": "Sun, 25 Jan 2026 15:37:58 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:41690, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259201Z 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": "Sun, 25 Jan 2026 15:37:58 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:41690, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259452Z 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": "Sun, 25 Jan 2026 15:37:58 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:41690, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259489Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259508Z 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-25T15:37:59.259520Z 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-25T15:37:59.259622Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259662Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259677Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46790) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.259971Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.260240Z  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-25T15:37:59.260278Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.260426Z  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-25T15:37:59.260712Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.260810Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.260925Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261081Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46798 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261143Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46798) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261165Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261297Z 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-25T15:37:59.261332Z 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-25T15:37:59.261354Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261375Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.261387Z 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-25T15:37:59.261402Z 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-25T15:37:59.261547Z 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-25T15:37:59.261784Z 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-25T15:37:59.261810Z 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-25T15:37:59.261826Z 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-25T15:37:59.262245Z 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-25T15:37:59.262411Z 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-25T15:37:59.262453Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.262484Z 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-25T15:37:59.262505Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.262522Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.262546Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.262691Z 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": "Sun, 25 Jan 2026 15:37:58 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:41700, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.262757Z 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": "Sun, 25 Jan 2026 15:37:58 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:41700, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263007Z 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": "Sun, 25 Jan 2026 15:37:58 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:41700, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263049Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263068Z 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-25T15:37:59.263079Z 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-25T15:37:59.263183Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263225Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263240Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46798) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263522Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.263802Z  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-25T15:37:59.263832Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.263974Z  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-25T15:37:59.264274Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264343Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264458Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264622Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46800 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264683Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46800) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264704Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264845Z 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-25T15:37:59.264879Z 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-25T15:37:59.264904Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264927Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.264937Z 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-25T15:37:59.264950Z 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-25T15:37:59.265203Z 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-25T15:37:59.265573Z 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-25T15:37:59.265607Z 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-25T15:37:59.265622Z 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-25T15:37:59.265912Z 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-25T15:37:59.266050Z 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-25T15:37:59.266089Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266117Z 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-25T15:37:59.266133Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266151Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266176Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266211Z 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": "Sun, 25 Jan 2026 15:37:58 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:41706, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266266Z 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": "Sun, 25 Jan 2026 15:37:58 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:41706, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266508Z 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": "Sun, 25 Jan 2026 15:37:58 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:41706, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266547Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.266565Z 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-25T15:37:59.266575Z 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-25T15:37:59.267015Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.267273Z  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-25T15:37:59.267301Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.267444Z  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-25T15:37:59.267757Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.267802Z 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-25T15:37:59.267828Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46800) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.267970Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268031Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268180Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46806 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268234Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46806) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268265Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268368Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268556Z 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-25T15:37:59.268589Z 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-25T15:37:59.268613Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268636Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.268649Z 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-25T15:37:59.268662Z 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-25T15:37:59.268926Z 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-25T15:37:59.269329Z 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-25T15:37:59.269358Z 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-25T15:37:59.269372Z 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-25T15:37:59.269615Z 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-25T15:37:59.269770Z 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-25T15:37:59.269811Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.269840Z 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-25T15:37:59.269857Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.269873Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.269894Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.269928Z 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": "Sun, 25 Jan 2026 15:37:58 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:41712, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.269968Z 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": "Sun, 25 Jan 2026 15:37:58 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:41712, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.270209Z 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": "Sun, 25 Jan 2026 15:37:58 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:41712, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.270258Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.270278Z 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-25T15:37:59.270289Z 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-25T15:37:59.270691Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.270950Z  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-25T15:37:59.270979Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.271119Z  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-25T15:37:59.271408Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271453Z 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-25T15:37:59.271481Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46806) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271628Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271692Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271860Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46818 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271915Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46818) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.271936Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.272065Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.272260Z 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-25T15:37:59.272297Z 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-25T15:37:59.272319Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.272342Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.272355Z 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-25T15:37:59.272369Z 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-25T15:37:59.272622Z 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-25T15:37:59.273106Z 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-25T15:37:59.273135Z 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-25T15:37:59.273150Z 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-25T15:37:59.273446Z 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-25T15:37:59.273618Z 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-25T15:37:59.273663Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.273694Z 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-25T15:37:59.273711Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.273766Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.273790Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.273824Z 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": "Sun, 25 Jan 2026 15:37:58 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:41722, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.273867Z 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": "Sun, 25 Jan 2026 15:37:58 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:41722, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.274152Z 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": "Sun, 25 Jan 2026 15:37:58 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:41722, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.274198Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.274218Z 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-25T15:37:59.274230Z 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-25T15:37:59.274672Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.274947Z  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-25T15:37:59.274977Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.275118Z  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-25T15:37:59.275424Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275470Z 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-25T15:37:59.275500Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46818) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275658Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275718Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275889Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46820 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275945Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46820) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.275965Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.276073Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.276271Z 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-25T15:37:59.276307Z 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-25T15:37:59.276331Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.276356Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.276370Z 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-25T15:37:59.276385Z 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-25T15:37:59.276640Z 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-25T15:37:59.277084Z 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-25T15:37:59.277112Z 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-25T15:37:59.277127Z 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-25T15:37:59.277396Z 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-25T15:37:59.277537Z 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-25T15:37:59.277577Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.277606Z 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-25T15:37:59.277624Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.277641Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.277663Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.277696Z 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": "Sun, 25 Jan 2026 15:37:58 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:41738, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.277759Z 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": "Sun, 25 Jan 2026 15:37:58 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:41738, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.278006Z 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": "Sun, 25 Jan 2026 15:37:58 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:41738, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.278047Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.278066Z 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-25T15:37:59.278078Z 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-25T15:37:59.278497Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.278764Z  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-25T15:37:59.278793Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-length": "13", "content-type": "text/plain", "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-25T15:37:59.278939Z  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-25T15:37:59.279046Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.279227Z 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-25T15:37:59.279269Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46820) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.279627Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.279693Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.279829Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.279986Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46834 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.280043Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46834) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.280062Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.280188Z 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-25T15:37:59.280219Z 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-25T15:37:59.280243Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.280277Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.280289Z 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-25T15:37:59.280303Z 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-25T15:37:59.280449Z 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-25T15:37:59.280662Z 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-25T15:37:59.280685Z 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-25T15:37:59.280698Z 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-25T15:37:59.281141Z 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-25T15:37:59.281314Z 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-25T15:37:59.281357Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281387Z 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-25T15:37:59.281405Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281421Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281443Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281602Z 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": "Sun, 25 Jan 2026 15:37:58 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:41752, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281658Z 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": "Sun, 25 Jan 2026 15:37:58 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:41752, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281940Z 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": "Sun, 25 Jan 2026 15:37:58 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:41752, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.281983Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.282002Z 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-25T15:37:59.282014Z 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-25T15:37:59.282109Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.282147Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.282163Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46834) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.282447Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.282744Z  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-25T15:37:59.282775Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.282929Z  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-25T15:37:59.283213Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283291Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283403Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283563Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46842 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283622Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46842) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283643Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283796Z 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-25T15:37:59.283831Z 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-25T15:37:59.283855Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283878Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.283889Z 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-25T15:37:59.283906Z 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-25T15:37:59.284055Z 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-25T15:37:59.284286Z 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-25T15:37:59.284310Z 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-25T15:37:59.284325Z 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-25T15:37:59.284789Z 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-25T15:37:59.284958Z 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-25T15:37:59.285002Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285034Z 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-25T15:37:59.285051Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285068Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285089Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285244Z 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": "Sun, 25 Jan 2026 15:37:58 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:41768, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285306Z 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": "Sun, 25 Jan 2026 15:37:58 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:41768, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285559Z 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": "Sun, 25 Jan 2026 15:37:58 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:41768, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285603Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285623Z 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-25T15:37:59.285635Z 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-25T15:37:59.285756Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285797Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.285812Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46842) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.286098Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.286389Z  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-25T15:37:59.286418Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.286567Z  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-25T15:37:59.286885Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.286953Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287071Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287240Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46852 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287311Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46852) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287333Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287468Z 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-25T15:37:59.287501Z 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-25T15:37:59.287527Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287552Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.287564Z 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-25T15:37:59.287579Z 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-25T15:37:59.287748Z 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-25T15:37:59.287982Z 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-25T15:37:59.288007Z 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-25T15:37:59.288023Z 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-25T15:37:59.288482Z 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-25T15:37:59.288653Z 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-25T15:37:59.288706Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.288756Z 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-25T15:37:59.288777Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.288794Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.288816Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.288972Z 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": "Sun, 25 Jan 2026 15:37:58 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:41772, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289022Z 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": "Sun, 25 Jan 2026 15:37:58 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:41772, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289277Z 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": "Sun, 25 Jan 2026 15:37:58 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:41772, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289318Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289337Z 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-25T15:37:59.289348Z 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-25T15:37:59.289450Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289489Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289504Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46852) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.289810Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.290086Z  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-25T15:37:59.290116Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.290293Z  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-25T15:37:59.290599Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.290667Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.290826Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.290997Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46854 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.291055Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46854) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.291078Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.291211Z 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-25T15:37:59.291245Z 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-25T15:37:59.291282Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.291305Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.291318Z 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-25T15:37:59.291332Z 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-25T15:37:59.291485Z 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-25T15:37:59.292136Z 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-25T15:37:59.291717Z 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-25T15:37:59.292296Z 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-25T15:37:59.292313Z 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-25T15:37:59.292379Z 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-25T15:37:59.292419Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.292452Z 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-25T15:37:59.292472Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.292490Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.292516Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.292679Z 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": "Sun, 25 Jan 2026 15:37:58 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:41778, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.292754Z 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": "Sun, 25 Jan 2026 15:37:58 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:41778, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293018Z 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": "Sun, 25 Jan 2026 15:37:58 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:41778, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293066Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293088Z 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-25T15:37:59.293100Z 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-25T15:37:59.293212Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293269Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293288Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46854) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293579Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.293872Z  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-25T15:37:59.293902Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.294055Z  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-25T15:37:59.294391Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294455Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294563Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294715Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46864 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294801Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46864) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294822Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.294943Z 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-25T15:37:59.294974Z 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-25T15:37:59.294998Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.295020Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.295031Z 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-25T15:37:59.295044Z 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-25T15:37:59.295183Z 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-25T15:37:59.295402Z 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-25T15:37:59.295427Z 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-25T15:37:59.295441Z 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-25T15:37:59.295895Z 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-25T15:37:59.296036Z 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-25T15:37:59.296076Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296103Z 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-25T15:37:59.296120Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296135Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296156Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296190Z 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": "Sun, 25 Jan 2026 15:37:58 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:41782, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296234Z 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": "Sun, 25 Jan 2026 15:37:58 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:41782, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296491Z 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": "Sun, 25 Jan 2026 15:37:58 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:41782, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296538Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.296556Z 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-25T15:37:59.296567Z 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-25T15:37:59.296992Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.297222Z  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-25T15:37:59.297259Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.297395Z  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-25T15:37:59.297680Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.297741Z 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-25T15:37:59.297771Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46864) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.297912Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.297970Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298072Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298215Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46868 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298278Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46868) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298297Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298408Z 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-25T15:37:59.298437Z 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-25T15:37:59.298459Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298480Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.298493Z 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-25T15:37:59.298508Z 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-25T15:37:59.298648Z 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-25T15:37:59.298887Z 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-25T15:37:59.298911Z 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-25T15:37:59.298925Z 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-25T15:37:59.299320Z 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-25T15:37:59.299470Z 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-25T15:37:59.299511Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.299540Z 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-25T15:37:59.299556Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.299572Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.299592Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.299752Z 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": "Sun, 25 Jan 2026 15:37:58 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:41794, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.299805Z 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": "Sun, 25 Jan 2026 15:37:58 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:41794, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300049Z 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": "Sun, 25 Jan 2026 15:37:58 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:41794, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300091Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300109Z 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-25T15:37:59.300121Z 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-25T15:37:59.300219Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300271Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300285Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46868) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300541Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.300829Z  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-25T15:37:59.300857Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.300998Z  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-25T15:37:59.301274Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301340Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301452Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301640Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46884 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301698Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46884) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301718Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301866Z 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-25T15:37:59.301896Z 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-25T15:37:59.301919Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301941Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.301951Z 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-25T15:37:59.301966Z 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-25T15:37:59.302109Z 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-25T15:37:59.302330Z 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-25T15:37:59.302353Z 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-25T15:37:59.302366Z 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-25T15:37:59.302814Z 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-25T15:37:59.302971Z 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-25T15:37:59.303012Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303042Z 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-25T15:37:59.303058Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303074Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303096Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303245Z 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": "Sun, 25 Jan 2026 15:37:58 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:41798, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303305Z 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": "Sun, 25 Jan 2026 15:37:58 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:41798, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303545Z 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": "Sun, 25 Jan 2026 15:37:58 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:41798, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303586Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303606Z 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-25T15:37:59.303618Z 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-25T15:37:59.303753Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303796Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.303812Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46884) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.304108Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.304386Z  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-25T15:37:59.304415Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.304559Z  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-25T15:37:59.304865Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.304928Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305037Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305191Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46886 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305246Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46886) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305279Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305402Z 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-25T15:37:59.305432Z 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-25T15:37:59.305453Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305475Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.305486Z 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-25T15:37:59.305499Z 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-25T15:37:59.305657Z 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-25T15:37:59.305894Z 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-25T15:37:59.305918Z 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-25T15:37:59.305932Z 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-25T15:37:59.306348Z 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-25T15:37:59.306500Z 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-25T15:37:59.306542Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.306571Z 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-25T15:37:59.306588Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.306604Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.306624Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.306792Z 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": "Sun, 25 Jan 2026 15:37:58 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:41814, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.306842Z 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": "Sun, 25 Jan 2026 15:37:58 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:41814, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307083Z 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": "Sun, 25 Jan 2026 15:37:58 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:41814, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307121Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307139Z 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-25T15:37:59.307150Z 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-25T15:37:59.307264Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307306Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307322Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46886) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307599Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.307886Z  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-25T15:37:59.307915Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.308057Z  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-25T15:37:59.308343Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.308414Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.308654Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.308838Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46894 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.308898Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46894) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.308919Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.309044Z 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-25T15:37:59.309077Z 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-25T15:37:59.309101Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.309126Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.309138Z 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-25T15:37:59.309152Z 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-25T15:37:59.309318Z 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-25T15:37:59.309545Z 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-25T15:37:59.309573Z 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-25T15:37:59.309588Z 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-25T15:37:59.310060Z 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-25T15:37:59.310227Z 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-25T15:37:59.310284Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310317Z 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-25T15:37:59.310337Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310355Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310379Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310543Z 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": "Sun, 25 Jan 2026 15:37:58 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:41822, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310596Z 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": "Sun, 25 Jan 2026 15:37:58 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:41822, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310889Z 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": "Sun, 25 Jan 2026 15:37:58 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:41822, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310938Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.310961Z 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-25T15:37:59.310976Z 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-25T15:37:59.311090Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.311133Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.311150Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46894) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.311455Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.311792Z  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-25T15:37:59.311823Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.311981Z  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-25T15:37:59.312295Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312369Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312492Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312672Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46910 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312764Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46910) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312789Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.312929Z 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-25T15:37:59.312965Z 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-25T15:37:59.312990Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.313015Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.313027Z 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-25T15:37:59.313042Z 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-25T15:37:59.313200Z 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-25T15:37:59.313453Z 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-25T15:37:59.313480Z 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-25T15:37:59.313496Z 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-25T15:37:59.314008Z 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-25T15:37:59.314202Z 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-25T15:37:59.314258Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314294Z 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-25T15:37:59.314315Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314334Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314359Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314522Z 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": "Sun, 25 Jan 2026 15:37:58 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:41826, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314577Z 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": "Sun, 25 Jan 2026 15:37:58 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:41826, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314912Z 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": "Sun, 25 Jan 2026 15:37:58 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:41826, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314963Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.314987Z 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-25T15:37:59.315000Z 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-25T15:37:59.315114Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.315164Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.315182Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46910) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.315486Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.315799Z  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-25T15:37:59.315829Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.315989Z  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-25T15:37:59.316309Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316382Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316508Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316684Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46916 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316772Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46916) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316797Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.316942Z 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-25T15:37:59.316977Z 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-25T15:37:59.317004Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.317029Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.317042Z 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-25T15:37:59.317057Z 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-25T15:37:59.317209Z 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-25T15:37:59.317443Z 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-25T15:37:59.317468Z 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-25T15:37:59.317483Z 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-25T15:37:59.317972Z 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-25T15:37:59.318159Z 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-25T15:37:59.318215Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318263Z 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-25T15:37:59.318286Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318305Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318330Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318501Z 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": "Sun, 25 Jan 2026 15:37:58 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:41830, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318558Z 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": "Sun, 25 Jan 2026 15:37:58 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:41830, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318846Z 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": "Sun, 25 Jan 2026 15:37:58 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:41830, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318894Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.318917Z 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-25T15:37:59.318928Z 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-25T15:37:59.319040Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.319087Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.319106Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46916) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.319443Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.319791Z  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-25T15:37:59.319822Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.319982Z  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-25T15:37:59.320299Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320374Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320500Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320681Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46920 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320760Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46920) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320784Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.320924Z 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-25T15:37:59.320960Z 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-25T15:37:59.320986Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.321012Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.321024Z 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-25T15:37:59.321039Z 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-25T15:37:59.321330Z 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-25T15:37:59.321747Z 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-25T15:37:59.321780Z 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-25T15:37:59.321796Z 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-25T15:37:59.322084Z 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-25T15:37:59.322234Z 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-25T15:37:59.322292Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322327Z 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-25T15:37:59.322349Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322370Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322397Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322436Z 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": "Sun, 25 Jan 2026 15:37:58 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:41844, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322484Z 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": "Sun, 25 Jan 2026 15:37:58 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:41844, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322772Z 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": "Sun, 25 Jan 2026 15:37:58 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:41844, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322822Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.322845Z 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-25T15:37:59.322858Z 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-25T15:37:59.323331Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.323605Z  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-25T15:37:59.323636Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-length": "13", "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-25T15:37:59.323822Z  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-25T15:37:59.324144Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324194Z 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-25T15:37:59.324226Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46920) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324398Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324471Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324602Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324790Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46934 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324855Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46934) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.324879Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.325021Z 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-25T15:37:59.325059Z 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-25T15:37:59.325086Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.325114Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.325128Z 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-25T15:37:59.325143Z 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-25T15:37:59.325314Z 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-25T15:37:59.325553Z 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-25T15:37:59.325586Z 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-25T15:37:59.325602Z 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-25T15:37:59.326103Z 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-25T15:37:59.326295Z 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-25T15:37:59.326344Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326379Z 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-25T15:37:59.326399Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326417Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326441Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326624Z 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": "Sun, 25 Jan 2026 15:37:58 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:41854, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326679Z 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": "Sun, 25 Jan 2026 15:37:58 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:41854, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.326980Z 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": "Sun, 25 Jan 2026 15:37:58 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:41854, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327028Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327049Z 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-25T15:37:59.327062Z 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-25T15:37:59.327179Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327222Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327239Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46934) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327575Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.327905Z  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-25T15:37:59.327940Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sun, 25 Jan 2026 15:37:58 GMT", "content-type": "text/plain", "content-length": "13", "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-25T15:37:59.328108Z  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-25T15:37:59.328432Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.328502Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.328623Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.328839Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46942 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.328902Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46942) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.328924Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.329061Z 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-25T15:37:59.329095Z 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-25T15:37:59.329120Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.329145Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.329158Z 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-25T15:37:59.329173Z 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-25T15:37:59.329339Z 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-25T15:37:59.329578Z 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-25T15:37:59.329605Z 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-25T15:37:59.329620Z 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-25T15:37:59.330124Z 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-25T15:37:59.330314Z 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-25T15:37:59.330361Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330395Z 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-25T15:37:59.330415Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330433Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330458Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330635Z 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": "Sun, 25 Jan 2026 15:37:58 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:41870, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330694Z 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": "Sun, 25 Jan 2026 15:37:58 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:41870, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.330996Z 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": "Sun, 25 Jan 2026 15:37:58 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:41870, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331042Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331064Z 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-25T15:37:59.331076Z 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-25T15:37:59.331191Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331232Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331261Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:46942) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331588Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.331934Z  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-25T15:37:59.331965Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.332131Z  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-25T15:37:59.332444Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.332517Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.332642Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.332837Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46952 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.332902Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46952) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.332925Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.333062Z 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-25T15:37:59.333095Z 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-25T15:37:59.333120Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.333144Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.333155Z 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-25T15:37:59.333173Z 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-25T15:37:59.333341Z 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-25T15:37:59.333574Z 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-25T15:37:59.333603Z 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-25T15:37:59.333618Z 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-25T15:37:59.334171Z 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-25T15:37:59.334338Z 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-25T15:37:59.334383Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334415Z 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-25T15:37:59.334435Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334453Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334477Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334517Z 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": "Sun, 25 Jan 2026 15:37:58 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:41880, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334566Z 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": "Sun, 25 Jan 2026 15:37:58 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:41880, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334851Z 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": "Sun, 25 Jan 2026 15:37:58 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:41880, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334898Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.334921Z 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-25T15:37:59.334933Z 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-25T15:37:59.335422Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.335711Z  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-25T15:37:59.335764Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 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-25T15:37:59.335926Z  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-25T15:37:59.336245Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336309Z 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-25T15:37:59.336341Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:46952) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336499Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336570Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336690Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336831Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:46964 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336892Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:46964) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.336912Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.337162Z 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-25T15:37:59.337197Z 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-25T15:37:59.337224Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.337260Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.337273Z 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-25T15:37:59.337288Z 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-25T15:37:59.337562Z 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-25T15:37:59.338142Z 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-25T15:37:59.338174Z 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-25T15:37:59.338190Z 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-25T15:37:59.338490Z 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-25T15:37:59.338652Z 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-25T15:37:59.338697Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.338755Z 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-25T15:37:59.338780Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.338798Z DEBUG gateway::http::headers: Parsing header, header: "date: Sun, 25 Jan 2026 15:37:58 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.338823Z 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": "Sun, 25 Jan 2026 15:37:58 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.338861Z 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": "Sun, 25 Jan 2026 15:37:58 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:41886, peer: 127.0.0.1:45013, fd: 23 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.338907Z 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": "Sun, 25 Jan 2026 15:37:58 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:41886, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.339174Z 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": "Sun, 25 Jan 2026 15:37:58 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:41886, peer: 127.0.0.1:45013, fd: 23 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.339218Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.339240Z 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-25T15:37:59.339267Z 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-25T15:37:59.339778Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.340064Z  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-25T15:37:59.340095Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Sun, 25 Jan 2026 15:37:58 GMT", "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-25T15:37:59.340270Z  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-25T15:37:59.340598Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.340647Z 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-25T15:37:59.340778Z 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:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.340991Z DEBUG isahc::handler:  Trying 127.0.0.1:44065... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [INFO] [stdout] 2026-01-25T15:37:59.341126Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44065/hello [INFO] [stdout] [WARN] too many lines in the log, truncating it