[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 master#c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majksa-dev/rust-gateway on toolchain c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/majksa-dev/rust-essentials` [INFO] [stderr] Updating git repository `https://github.com/majksa-dev/rust-io` [INFO] [stderr] Updating git repository `https://github.com/majksa-dev/rust-testing-utils` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wiremock v0.6.1 [INFO] [stderr] Downloaded bb8 v0.8.3 [INFO] [stderr] Downloaded sendfile v0.3.0 [INFO] [stderr] Downloaded uuid v1.8.0 [INFO] [stderr] Downloaded pingora-cache v0.3.0 [INFO] [stderr] Downloaded rcgen v0.13.1 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded hickory-resolver v0.24.1 [INFO] [stderr] Downloaded bollard v0.16.1 [INFO] [stderr] Downloaded pingora-core v0.3.0 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded hyper v0.14.29 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded async-std v1.12.0 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded webpki-roots v0.26.3 [INFO] [stderr] Downloaded aws-lc-rs v1.6.2 [INFO] [stderr] Downloaded rustix v0.37.27 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded bstr v1.9.1 [INFO] [stderr] Downloaded hickory-proto v0.24.1 [INFO] [stderr] Downloaded rustracing_jaeger v0.7.0 [INFO] [stderr] Downloaded curl v0.4.46 [INFO] [stderr] Downloaded ignore v0.4.22 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] [stderr] Downloaded bollard-stubs v1.44.0-rc.2 [INFO] [stderr] Downloaded async-executor v1.12.0 [INFO] [stderr] Downloaded polling v3.7.2 [INFO] [stderr] Downloaded async-io v2.3.3 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded prettyplease v0.2.16 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded async-trait v0.1.81 [INFO] [stderr] Downloaded sentry-types v0.26.0 [INFO] [stderr] Downloaded sentry-core v0.26.0 [INFO] [stderr] Downloaded sentry v0.26.0 [INFO] [stderr] Downloaded pingora-header-serde v0.3.0 [INFO] [stderr] Downloaded yasna v0.5.2 [INFO] [stderr] Downloaded spinning_top v0.2.5 [INFO] [stderr] Downloaded futures-lite v2.3.0 [INFO] [stderr] Downloaded hyper-rustls v0.26.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded testcontainers v0.18.0 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded clang-sys v1.7.0 [INFO] [stderr] Downloaded cmake v0.1.50 [INFO] [stderr] Downloaded subtle v2.6.0 [INFO] [stderr] Downloaded value-bag v1.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded pingora-openssl v0.3.0 [INFO] [stderr] Downloaded pingora-pool v0.3.0 [INFO] [stderr] Downloaded sentry-contexts v0.26.0 [INFO] [stderr] Downloaded sfv v0.9.4 [INFO] [stderr] Downloaded rustracing v0.5.1 [INFO] [stderr] Downloaded thrift_codec v0.1.1 [INFO] [stderr] Downloaded tracing-panic v0.1.2 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded predicates v3.1.0 [INFO] [stderr] Downloaded assert_fs v1.1.1 [INFO] [stderr] Downloaded piper v0.2.3 [INFO] [stderr] Downloaded const_fn v0.4.10 [INFO] [stderr] Downloaded hyperlocal-next v0.9.0 [INFO] [stderr] Downloaded parse-display-derive v0.9.0 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded bb8-redis v0.16.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.4 [INFO] [stderr] Downloaded lru v0.12.3 [INFO] [stderr] Downloaded pingora-runtime v0.3.0 [INFO] [stderr] Downloaded uname v0.1.1 [INFO] [stderr] Downloaded sentry-backtrace v0.26.0 [INFO] [stderr] Downloaded sentry-panic v0.26.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.5 [INFO] [stderr] Downloaded async-stream v0.3.5 [INFO] [stderr] Downloaded pingora-error v0.3.0 [INFO] [stderr] Downloaded pingora-http v0.3.0 [INFO] [stderr] Downloaded pingora-lru v0.3.0 [INFO] [stderr] Downloaded pingora-timeout v0.3.0 [INFO] [stderr] Downloaded serde-env v0.1.1 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded parse-display v0.9.0 [INFO] [stderr] Downloaded enum-as-inner v0.6.0 [INFO] [stderr] Downloaded libz-ng-sys v1.1.15 [INFO] [stderr] Downloaded curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Downloaded libz-sys v1.1.16 [INFO] [stderr] Downloaded aws-lc-sys v0.13.3 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fdf073102e3211b91be1a8073bd62448f116553a9b5aefb86eb43bfeaf11346 [INFO] running `Command { std: "docker" "start" "-a" "1fdf073102e3211b91be1a8073bd62448f116553a9b5aefb86eb43bfeaf11346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fdf073102e3211b91be1a8073bd62448f116553a9b5aefb86eb43bfeaf11346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdf073102e3211b91be1a8073bd62448f116553a9b5aefb86eb43bfeaf11346", kill_on_drop: false }` [INFO] [stdout] 1fdf073102e3211b91be1a8073bd62448f116553a9b5aefb86eb43bfeaf11346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1fb178f1f2d27f1cb1d29159d8b0fc995e9a566136b51a5ca69997907d03abe [INFO] running `Command { std: "docker" "start" "-a" "e1fb178f1f2d27f1cb1d29159d8b0fc995e9a566136b51a5ca69997907d03abe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling http v1.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 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 1m 30s [INFO] running `Command { std: "docker" "inspect" "e1fb178f1f2d27f1cb1d29159d8b0fc995e9a566136b51a5ca69997907d03abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fb178f1f2d27f1cb1d29159d8b0fc995e9a566136b51a5ca69997907d03abe", kill_on_drop: false }` [INFO] [stdout] e1fb178f1f2d27f1cb1d29159d8b0fc995e9a566136b51a5ca69997907d03abe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a812f4a1a6346ed3e0d864a0382ab17a2c9fe1239b0fd414b56522bb6cc3cb9 [INFO] running `Command { std: "docker" "start" "-a" "1a812f4a1a6346ed3e0d864a0382ab17a2c9fe1239b0fd414b56522bb6cc3cb9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling idna v0.5.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 async-channel v1.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling bollard-stubs v1.44.0-rc.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling hyperlocal-next v0.9.0 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling parse-display-derive v0.9.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling parse-display v0.9.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling assert_fs v1.1.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling docker_credential v1.3.1 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling rcgen v0.13.1 [INFO] [stderr] Compiling wiremock v0.6.1 [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] Compiling bollard v0.16.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 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 4m 34s [INFO] running `Command { std: "docker" "inspect" "1a812f4a1a6346ed3e0d864a0382ab17a2c9fe1239b0fd414b56522bb6cc3cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a812f4a1a6346ed3e0d864a0382ab17a2c9fe1239b0fd414b56522bb6cc3cb9", kill_on_drop: false }` [INFO] [stdout] 1a812f4a1a6346ed3e0d864a0382ab17a2c9fe1239b0fd414b56522bb6cc3cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 250497bdfd9df68b1cfc37b48513a58bec9ea6e8d4331c155802646d4db113df [INFO] running `Command { std: "docker" "start" "-a" "250497bdfd9df68b1cfc37b48513a58bec9ea6e8d4331c155802646d4db113df", 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.74s [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.21s [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] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cors_server.rs (/opt/rustwide/target/debug/deps/cors_server-a6984d50d1e45241) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/empty_server.rs (/opt/rustwide/target/debug/deps/empty_server-b83a29785c350c9e) [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 2 tests [INFO] [stdout] 2026-04-08T07:11:22.795405Z DEBUG isahc::agent: agent waker listening on 127.0.0.1:59023 [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-04-08T07:11:22.795672Z DEBUG gateway::server::app: Starting server [INFO] [stdout] at src/server/app.rs:167 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.795769Z DEBUG gateway::http::server: Listening on: 127.0.0.1:43725 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.795823Z DEBUG gateway::http::server: Listening on: 127.0.0.1:44329 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.795790Z DEBUG isahc::agent: agent took 412.1µ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: 59023 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.795991Z  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-04-08T07:11:22.796496Z DEBUG isahc::handler:  Trying 127.0.0.1:43725... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:43725/ [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.796706Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 43725 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:43725/ [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.796913Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51964 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.798904Z DEBUG isahc::handler: Connection #0 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:43725/ [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.799139Z  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-04-08T07:11:22.799230Z  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] test tests::should_succeed ... FAILED [INFO] [stdout] 2026-04-08T07:11:22.799487Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.799601Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.799850Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33288 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.799917Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33288) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.799956Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.800127Z 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-04-08T07:11:22.800165Z 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-04-08T07:11:22.800191Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.800210Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.800222Z 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-04-08T07:11:22.800246Z 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-04-08T07:11:22.800387Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.800600Z 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-04-08T07:11:22.800635Z 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-04-08T07:11:22.800657Z 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-04-08T07:11:22.814572Z 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-04-08T07:11:22.814806Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.814876Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.814952Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.814974Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.814990Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815033Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815082Z 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": "Wed, 08 Apr 2026 07:11:22 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:58152, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815127Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58152, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815357Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58152, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815398Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815431Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.815443Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.815700Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815746Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815762Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33288) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.815794Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.816101Z  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-04-08T07:11:22.816145Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "x-custom": "unique", "content-length": "13", "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-04-08T07:11:22.816407Z  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-04-08T07:11:22.816684Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.816759Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.816877Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817046Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33298 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817099Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33298) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817118Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817224Z 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-04-08T07:11:22.817255Z 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-04-08T07:11:22.817274Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817302Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817312Z 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-04-08T07:11:22.817326Z 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-04-08T07:11:22.817448Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.817659Z 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-04-08T07:11:22.817686Z 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-04-08T07:11:22.817784Z 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-04-08T07:11:22.827603Z 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-04-08T07:11:22.827974Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.828268Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.828501Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.828696Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.829046Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.829269Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.829601Z 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": "Wed, 08 Apr 2026 07:11:22 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:58164, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.830000Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58164, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.830830Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58164, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.831292Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.831568Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.832139Z  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-04-08T07:11:22.832381Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.832700Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.833151Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.833197Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.833214Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33298) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.833300Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.833526Z  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-04-08T07:11:22.834169Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.834331Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.834552Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.834699Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33310 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.834758Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33310) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.834781Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.835034Z 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-04-08T07:11:22.835069Z 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-04-08T07:11:22.835089Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.835111Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.835121Z 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-04-08T07:11:22.835135Z 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-04-08T07:11:22.835262Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.835471Z 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-04-08T07:11:22.835495Z 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-04-08T07:11:22.835508Z 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-04-08T07:11:22.835919Z 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-04-08T07:11:22.836330Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836377Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836406Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836423Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836437Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836454Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836491Z 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": "Wed, 08 Apr 2026 07:11:22 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:58170, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836533Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58170, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836762Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58170, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836800Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.836818Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.836828Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.837351Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.837544Z  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-04-08T07:11:22.837570Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.837691Z  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-04-08T07:11:22.837994Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838067Z 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-04-08T07:11:22.838103Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33310) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838227Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838304Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838407Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838632Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33326 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838684Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33326) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838706Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838804Z 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-04-08T07:11:22.838840Z 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-04-08T07:11:22.838861Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838880Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.838891Z 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-04-08T07:11:22.838904Z 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-04-08T07:11:22.839044Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.839260Z 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-04-08T07:11:22.839301Z 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-04-08T07:11:22.839317Z 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-04-08T07:11:22.839702Z 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-04-08T07:11:22.839832Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.839871Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.839903Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840030Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840058Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840082Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840219Z 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": "Wed, 08 Apr 2026 07:11:22 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:58176, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840266Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58176, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840517Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58176, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840561Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840588Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.840602Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.840688Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840726Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840743Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33326) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.840933Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.841191Z  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-04-08T07:11:22.841222Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "x-custom": "unique", "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-04-08T07:11:22.841425Z  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-04-08T07:11:22.841662Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.841716Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.841812Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.841947Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33340 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.841998Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33340) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.842039Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.842138Z 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-04-08T07:11:22.842170Z 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-04-08T07:11:22.842190Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.842209Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.842222Z 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-04-08T07:11:22.842235Z 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-04-08T07:11:22.842373Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.842587Z 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-04-08T07:11:22.842613Z 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-04-08T07:11:22.842627Z 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-04-08T07:11:22.843052Z 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-04-08T07:11:22.843185Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843224Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843254Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843275Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843304Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843325Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843461Z 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": "Wed, 08 Apr 2026 07:11:22 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:58184, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843508Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58184, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843752Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58184, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843795Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843815Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.843827Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.843912Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843950Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.843966Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33340) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.844329Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.844545Z  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-04-08T07:11:22.844571Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.844686Z  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-04-08T07:11:22.844910Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.844969Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845087Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845224Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33342 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845271Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33342) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845296Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845387Z 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-04-08T07:11:22.845413Z 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-04-08T07:11:22.845431Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845448Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845458Z 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-04-08T07:11:22.845469Z 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-04-08T07:11:22.845674Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.845879Z 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-04-08T07:11:22.845904Z 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-04-08T07:11:22.845917Z 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-04-08T07:11:22.846357Z 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-04-08T07:11:22.846497Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846538Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846568Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846591Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846610Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846631Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.846846Z 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": "Wed, 08 Apr 2026 07:11:22 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:58188, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.847032Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58188, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.847465Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58188, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.847680Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.847797Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.847889Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.847906Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.848024Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.848067Z 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-04-08T07:11:22.848095Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33342) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.848348Z  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-04-08T07:11:22.848375Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.848493Z  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-04-08T07:11:22.848777Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.848848Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.848952Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849157Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33354 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849214Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33354) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849235Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849416Z 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-04-08T07:11:22.849447Z 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-04-08T07:11:22.849465Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849482Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.849492Z 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-04-08T07:11:22.849503Z 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-04-08T07:11:22.849806Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.850053Z 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-04-08T07:11:22.850097Z 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-04-08T07:11:22.850109Z 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-04-08T07:11:22.854259Z 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-04-08T07:11:22.854417Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854461Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854493Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854512Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854530Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854553Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854590Z 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": "Wed, 08 Apr 2026 07:11:22 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:58202, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.854630Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58202, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.855356Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58202, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.855584Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.855795Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.855990Z  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-04-08T07:11:22.856159Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.856309Z  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-04-08T07:11:22.856553Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.856709Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.856813Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.856035Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.856902Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.857040Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33364 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857108Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33364) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857132Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857208Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857249Z 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-04-08T07:11:22.857279Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33354) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857412Z 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-04-08T07:11:22.857445Z 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-04-08T07:11:22.857466Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857486Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857498Z 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-04-08T07:11:22.857512Z 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-04-08T07:11:22.857635Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.857840Z 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-04-08T07:11:22.857865Z 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-04-08T07:11:22.857880Z 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-04-08T07:11:22.858414Z 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-04-08T07:11:22.858571Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858610Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858639Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858660Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858680Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858701Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858741Z 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": "Wed, 08 Apr 2026 07:11:22 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:58206, peer: 127.0.0.1:46391, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.858783Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58206, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.859039Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58206, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.859083Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.859102Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.859115Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.859658Z  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-04-08T07:11:22.859682Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.859542Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.859922Z  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-04-08T07:11:22.860161Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860216Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860316Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860457Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33374 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860508Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33374) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860529Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860601Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860638Z 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-04-08T07:11:22.860661Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33364) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860867Z 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-04-08T07:11:22.860900Z 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-04-08T07:11:22.860918Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860935Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.860946Z 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-04-08T07:11:22.860958Z 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-04-08T07:11:22.862570Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863341Z 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-04-08T07:11:22.863369Z 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-04-08T07:11:22.863383Z 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-04-08T07:11:22.863688Z 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-04-08T07:11:22.863855Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863901Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863929Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863947Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863963Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.863981Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.864034Z 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": "Wed, 08 Apr 2026 07:11:22 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:58214, peer: 127.0.0.1:46391, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.864076Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58214, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.864321Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58214, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.864369Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.864388Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.864399Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.864848Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.865128Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.865170Z 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-04-08T07:11:22.865197Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33374) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.865375Z  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-04-08T07:11:22.865403Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.865531Z  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-04-08T07:11:22.867796Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.867869Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.867981Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868142Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33380 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868196Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33380) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868215Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868324Z 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-04-08T07:11:22.868354Z 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-04-08T07:11:22.868372Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868391Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868401Z 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-04-08T07:11:22.868414Z 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-04-08T07:11:22.868533Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.868746Z 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-04-08T07:11:22.868768Z 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-04-08T07:11:22.868782Z 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-04-08T07:11:22.869217Z 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-04-08T07:11:22.869348Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869387Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869413Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869431Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869447Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869466Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869503Z 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": "Wed, 08 Apr 2026 07:11:22 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:58218, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869541Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58218, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869779Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58218, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869823Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.869844Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.869856Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.870221Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.870434Z  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-04-08T07:11:22.870460Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.870662Z  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-04-08T07:11:22.870939Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.870982Z 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-04-08T07:11:22.871023Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33380) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871137Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871186Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871276Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871406Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33394 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871457Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33394) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871475Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871563Z 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-04-08T07:11:22.871591Z 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-04-08T07:11:22.871608Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871624Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.871634Z 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-04-08T07:11:22.871646Z 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-04-08T07:11:22.871763Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.872063Z 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-04-08T07:11:22.872087Z 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-04-08T07:11:22.872100Z 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-04-08T07:11:22.872475Z 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-04-08T07:11:22.872606Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.873652Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.873702Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.873725Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.873745Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.873765Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874106Z 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": "Wed, 08 Apr 2026 07:11:22 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:58228, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874160Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58228, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874421Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58228, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874469Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874491Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.874502Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.874592Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874631Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874743Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33394) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.874964Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.875495Z  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-04-08T07:11:22.875526Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.875651Z  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-04-08T07:11:22.875942Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.876018Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.876215Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877576Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33404 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877635Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33404) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877657Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877753Z 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-04-08T07:11:22.877782Z 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-04-08T07:11:22.877801Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877820Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.877831Z 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-04-08T07:11:22.877844Z 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-04-08T07:11:22.878483Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879186Z 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-04-08T07:11:22.879510Z 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-04-08T07:11:22.879531Z 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-04-08T07:11:22.879478Z 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-04-08T07:11:22.879678Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879720Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879750Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879771Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879790Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879812Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879846Z 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": "Wed, 08 Apr 2026 07:11:22 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:58236, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.879887Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58236, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.880158Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58236, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.880301Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.880326Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.880337Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.880707Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.880892Z  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-04-08T07:11:22.880916Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881056Z  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-04-08T07:11:22.881279Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881349Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881451Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881693Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33412 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881746Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33412) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881766Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881838Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.881878Z 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-04-08T07:11:22.881907Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33404) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.882044Z 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-04-08T07:11:22.882083Z 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-04-08T07:11:22.882102Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.882120Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.882131Z 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-04-08T07:11:22.882144Z 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-04-08T07:11:22.882271Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.882498Z 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-04-08T07:11:22.882525Z 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-04-08T07:11:22.882540Z 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-04-08T07:11:22.882935Z 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-04-08T07:11:22.883204Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883243Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883270Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883298Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883317Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883337Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883517Z 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": "Wed, 08 Apr 2026 07:11:22 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:58250, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883568Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58250, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883833Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58250, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883872Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.883890Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.883901Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.883983Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.884033Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.884050Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33412) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.884236Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.884525Z  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-04-08T07:11:22.884550Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "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-04-08T07:11:22.884661Z  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-04-08T07:11:22.884889Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.884953Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885067Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885200Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33426 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885250Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33426) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885270Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885380Z 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-04-08T07:11:22.885412Z 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-04-08T07:11:22.885431Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885448Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885460Z 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-04-08T07:11:22.885475Z 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-04-08T07:11:22.885600Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.885911Z 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-04-08T07:11:22.885938Z 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-04-08T07:11:22.885952Z 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-04-08T07:11:22.887608Z 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-04-08T07:11:22.887740Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.887782Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.887810Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.887826Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.887841Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.887859Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.888054Z 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": "Wed, 08 Apr 2026 07:11:22 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:58264, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.888105Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58264, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.888346Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58264, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.888382Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.888401Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.888412Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.888494Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.889634Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.889905Z  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-04-08T07:11:22.890030Z 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-04-08T07:11:22.890090Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33426) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890160Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.890301Z  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-04-08T07:11:22.890538Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890596Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890703Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890839Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33432 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890893Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33432) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.890913Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.891026Z 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-04-08T07:11:22.891063Z 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-04-08T07:11:22.891084Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.891103Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.891113Z 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-04-08T07:11:22.891126Z 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-04-08T07:11:22.891262Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.891571Z 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-04-08T07:11:22.891597Z 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-04-08T07:11:22.891610Z 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-04-08T07:11:22.891922Z 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-04-08T07:11:22.892079Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892119Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892145Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892162Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892178Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892197Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892340Z 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": "Wed, 08 Apr 2026 07:11:22 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:58274, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892382Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58274, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892605Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58274, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892639Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892655Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.892665Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.892828Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892865Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.892880Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33432) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.893089Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.893302Z  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-04-08T07:11:22.893339Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.893462Z  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-04-08T07:11:22.893738Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.893797Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.893902Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894061Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33444 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894209Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33444) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894236Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894340Z 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-04-08T07:11:22.894371Z 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-04-08T07:11:22.894391Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894409Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894422Z 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-04-08T07:11:22.894435Z 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-04-08T07:11:22.894564Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.894776Z 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-04-08T07:11:22.894801Z 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-04-08T07:11:22.894816Z 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-04-08T07:11:22.895154Z 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-04-08T07:11:22.895309Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895347Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895372Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895390Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895407Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895426Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895649Z 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": "Wed, 08 Apr 2026 07:11:22 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:58278, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895695Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58278, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895924Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58278, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895963Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.895980Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.895990Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.896092Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.896130Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.896145Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33444) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.896373Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.896564Z  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-04-08T07:11:22.896589Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.896695Z  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-04-08T07:11:22.896997Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897067Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897161Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897296Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33446 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897347Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33446) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897367Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897460Z 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-04-08T07:11:22.897490Z 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-04-08T07:11:22.897508Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897524Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897536Z 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-04-08T07:11:22.897550Z 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-04-08T07:11:22.897671Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.897870Z 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-04-08T07:11:22.897891Z 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-04-08T07:11:22.897903Z 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-04-08T07:11:22.898233Z 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-04-08T07:11:22.898461Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.898779Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.898811Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.898831Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.898849Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.898867Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899016Z 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": "Wed, 08 Apr 2026 07:11:22 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:58292, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899063Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58292, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899301Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58292, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899338Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899355Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.899365Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.899445Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899477Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899490Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33446) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899753Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.899937Z  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-04-08T07:11:22.899960Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.900088Z  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-04-08T07:11:22.900321Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900372Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900464Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900593Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33454 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900638Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33454) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900656Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900745Z 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-04-08T07:11:22.900774Z 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-04-08T07:11:22.900791Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900807Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.900817Z 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-04-08T07:11:22.900829Z 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-04-08T07:11:22.900948Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901255Z 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-04-08T07:11:22.901280Z 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-04-08T07:11:22.901300Z 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-04-08T07:11:22.901601Z 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-04-08T07:11:22.901723Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901760Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901788Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901804Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901820Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901839Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.901973Z 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": "Wed, 08 Apr 2026 07:11:22 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:58294, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902033Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58294, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902260Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58294, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902311Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902330Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.902340Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.902503Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902538Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902553Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33454) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902734Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.902909Z  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-04-08T07:11:22.902932Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.903055Z  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-04-08T07:11:22.903318Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903363Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903446Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903561Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33466 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903601Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33466) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903617Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903696Z 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-04-08T07:11:22.903721Z 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-04-08T07:11:22.903736Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903754Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.903763Z 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-04-08T07:11:22.903773Z 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-04-08T07:11:22.903982Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904203Z 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-04-08T07:11:22.904224Z 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-04-08T07:11:22.904236Z 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-04-08T07:11:22.904551Z 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-04-08T07:11:22.904679Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904717Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904741Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904758Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904773Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904789Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904920Z 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": "Wed, 08 Apr 2026 07:11:22 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:58300, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.904959Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58300, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905488Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58300, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905543Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905562Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.905574Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.905648Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905677Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905702Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33466) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.905854Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906059Z  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-04-08T07:11:22.906082Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.906179Z  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-04-08T07:11:22.906400Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906447Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906526Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906729Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33482 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906781Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33482) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906797Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906876Z 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-04-08T07:11:22.906902Z 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-04-08T07:11:22.906917Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906932Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.906942Z 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-04-08T07:11:22.906952Z 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-04-08T07:11:22.907084Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907272Z 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-04-08T07:11:22.907297Z 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-04-08T07:11:22.907309Z 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-04-08T07:11:22.907607Z 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-04-08T07:11:22.907743Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907832Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907873Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907893Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907911Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.907929Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908169Z 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": "Wed, 08 Apr 2026 07:11:22 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:58314, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908213Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58314, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908472Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58314, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908511Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908527Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.908537Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.908632Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908665Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908677Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33482) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.908862Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909054Z  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-04-08T07:11:22.909077Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.909184Z  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-04-08T07:11:22.909481Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909527Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909608Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909743Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33484 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909782Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33484) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909797Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909891Z 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-04-08T07:11:22.909916Z 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-04-08T07:11:22.909931Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909947Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.909957Z 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-04-08T07:11:22.909968Z 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-04-08T07:11:22.910120Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.910335Z 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-04-08T07:11:22.910367Z 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-04-08T07:11:22.910379Z 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-04-08T07:11:22.910679Z 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-04-08T07:11:22.910887Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.910935Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.910959Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.910976Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.910991Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.911029Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915042Z 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": "Wed, 08 Apr 2026 07:11:22 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:58328, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915102Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58328, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915372Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58328, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915415Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915433Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.915443Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.915551Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915591Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.915606Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33484) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.917588Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.917958Z  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-04-08T07:11:22.917990Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.918160Z  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-04-08T07:11:22.918430Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918492Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918594Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918734Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33492 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918789Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33492) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918809Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.918928Z 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-04-08T07:11:22.918958Z 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-04-08T07:11:22.918979Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.919000Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.919029Z 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-04-08T07:11:22.919045Z 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-04-08T07:11:22.919256Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.919482Z 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-04-08T07:11:22.919507Z 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-04-08T07:11:22.919521Z 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-04-08T07:11:22.919911Z 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-04-08T07:11:22.920071Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920112Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920138Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920154Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920170Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920190Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920330Z 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": "Wed, 08 Apr 2026 07:11:22 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:58340, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920374Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58340, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920682Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58340, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920722Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920740Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.920750Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.920833Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920865Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.920879Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33492) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.921086Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.921270Z  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-04-08T07:11:22.921302Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.921411Z  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-04-08T07:11:22.921620Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.921668Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.921753Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.921967Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33494 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922028Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33494) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922046Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922131Z 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-04-08T07:11:22.922158Z 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-04-08T07:11:22.922174Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922189Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922198Z 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-04-08T07:11:22.922342Z 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-04-08T07:11:22.922545Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.922982Z 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-04-08T07:11:22.923028Z 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-04-08T07:11:22.923042Z 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-04-08T07:11:22.923232Z 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-04-08T07:11:22.923440Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923478Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923504Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923522Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923540Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923561Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923595Z 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": "Wed, 08 Apr 2026 07:11:22 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:58346, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923632Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58346, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923872Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58346, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923916Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.923934Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.923945Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.924268Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.924453Z  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-04-08T07:11:22.924477Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.924589Z  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-04-08T07:11:22.924925Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.924962Z 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-04-08T07:11:22.924988Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33494) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925120Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925174Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925275Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925414Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33496 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925462Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33496) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925481Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925569Z 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-04-08T07:11:22.925597Z 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-04-08T07:11:22.925613Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925629Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925638Z 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-04-08T07:11:22.925650Z 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-04-08T07:11:22.925758Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.925951Z 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-04-08T07:11:22.925971Z 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-04-08T07:11:22.925983Z 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-04-08T07:11:22.926356Z 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-04-08T07:11:22.926475Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926510Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926535Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926553Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926569Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926587Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926714Z 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": "Wed, 08 Apr 2026 07:11:22 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:58356, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926756Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58356, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.926976Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58356, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927029Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927048Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.927058Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.927140Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927174Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927189Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33496) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927376Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.927637Z  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-04-08T07:11:22.927660Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.927758Z  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-04-08T07:11:22.927967Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928045Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928142Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928269Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33502 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928327Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33502) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928346Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928437Z 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-04-08T07:11:22.928464Z 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-04-08T07:11:22.928481Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928497Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.928507Z 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-04-08T07:11:22.928519Z 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-04-08T07:11:22.928708Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929145Z 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-04-08T07:11:22.929170Z 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-04-08T07:11:22.929183Z 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-04-08T07:11:22.929384Z 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-04-08T07:11:22.929503Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929544Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929568Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929584Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929599Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929615Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929642Z 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": "Wed, 08 Apr 2026 07:11:22 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:58360, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929675Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58360, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929903Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58360, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929940Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.929955Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.929965Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.930400Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.930568Z  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-04-08T07:11:22.930591Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "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-04-08T07:11:22.930696Z  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-04-08T07:11:22.930916Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.930951Z 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-04-08T07:11:22.930974Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33502) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931095Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931146Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931230Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931365Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33504 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931408Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33504) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931426Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931511Z 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-04-08T07:11:22.931538Z 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-04-08T07:11:22.931556Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931571Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.931663Z 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-04-08T07:11:22.931677Z 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-04-08T07:11:22.931871Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.932492Z 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-04-08T07:11:22.932520Z 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-04-08T07:11:22.932534Z 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-04-08T07:11:22.932734Z 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-04-08T07:11:22.932838Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.932873Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.932900Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.932917Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933075Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933103Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933240Z 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": "Wed, 08 Apr 2026 07:11:22 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:58372, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933284Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58372, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933541Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58372, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933586Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933604Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.933614Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.933697Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933733Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933747Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33504) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.933941Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.934142Z  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-04-08T07:11:22.934165Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.934266Z  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-04-08T07:11:22.934542Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.934591Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.934684Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938341Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33506 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938406Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33506) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938428Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938624Z 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-04-08T07:11:22.938656Z 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-04-08T07:11:22.938674Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938695Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.938706Z 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-04-08T07:11:22.938719Z 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-04-08T07:11:22.938860Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939097Z 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-04-08T07:11:22.939124Z 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-04-08T07:11:22.939139Z 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-04-08T07:11:22.939498Z 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-04-08T07:11:22.939650Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939690Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939718Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939738Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939757Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.939777Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940027Z 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": "Wed, 08 Apr 2026 07:11:22 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:58378, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940077Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58378, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940338Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58378, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940383Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940404Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.940416Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.940504Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940543Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940564Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33506) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.940801Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942154Z  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-04-08T07:11:22.942183Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.942308Z  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-04-08T07:11:22.942549Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942610Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942715Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942868Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33512 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942920Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33512) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.942941Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.943052Z 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-04-08T07:11:22.943086Z 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-04-08T07:11:22.943105Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.943124Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.943135Z 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-04-08T07:11:22.943147Z 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-04-08T07:11:22.943273Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.943491Z 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-04-08T07:11:22.943515Z 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-04-08T07:11:22.943529Z 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-04-08T07:11:22.943859Z 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-04-08T07:11:22.943993Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944049Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944076Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944097Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944115Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944134Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944270Z 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": "Wed, 08 Apr 2026 07:11:22 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:58392, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944314Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58392, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944559Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58392, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944600Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944619Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.944630Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.944711Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944746Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944760Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33512) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.944945Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945226Z  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-04-08T07:11:22.945252Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.945356Z  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-04-08T07:11:22.945573Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945625Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945714Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945842Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33528 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945885Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33528) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945903Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.945990Z 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-04-08T07:11:22.946037Z 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-04-08T07:11:22.946055Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946071Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946083Z 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-04-08T07:11:22.946095Z 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-04-08T07:11:22.946203Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946402Z 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-04-08T07:11:22.946425Z 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-04-08T07:11:22.946439Z 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-04-08T07:11:22.946749Z 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-04-08T07:11:22.946870Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946908Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946934Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946952Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946970Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.946988Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947131Z 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": "Wed, 08 Apr 2026 07:11:22 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:58402, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947174Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58402, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947390Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58402, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947428Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947449Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.947459Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.947542Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947574Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947587Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33528) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947759Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.947932Z  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-04-08T07:11:22.947954Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.948082Z  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-04-08T07:11:22.948272Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948325Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948414Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948545Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33540 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948593Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33540) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948613Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948703Z 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-04-08T07:11:22.948732Z 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-04-08T07:11:22.948748Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948764Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.948773Z 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-04-08T07:11:22.948785Z 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-04-08T07:11:22.948905Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949143Z 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-04-08T07:11:22.949169Z 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-04-08T07:11:22.949184Z 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-04-08T07:11:22.949506Z 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-04-08T07:11:22.949643Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949681Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949707Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949726Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949745Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949764Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949895Z 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": "Wed, 08 Apr 2026 07:11:22 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:58404, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.949940Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58404, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.950217Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58404, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.950263Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.950282Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.950293Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.950483Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.950655Z  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-04-08T07:11:22.950679Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.950787Z  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-04-08T07:11:22.950982Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.951059Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.951148Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955139Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33546 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955198Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33546) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955220Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955184Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955325Z 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-04-08T07:11:22.955331Z 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-04-08T07:11:22.955353Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33540) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955357Z 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-04-08T07:11:22.955376Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955396Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955409Z 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-04-08T07:11:22.955422Z 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-04-08T07:11:22.955693Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.955904Z 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-04-08T07:11:22.955925Z 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-04-08T07:11:22.955939Z 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-04-08T07:11:22.956214Z 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-04-08T07:11:22.956336Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956373Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956399Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956416Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956432Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956452Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956482Z 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": "Wed, 08 Apr 2026 07:11:22 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:58418, peer: 127.0.0.1:46391, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956517Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58418, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956856Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58418, peer: 127.0.0.1:46391, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956910Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.956946Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.956965Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.957197Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957237Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957237Z  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-04-08T07:11:22.957252Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33546) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957257Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.957109Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957541Z  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-04-08T07:11:22.957779Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957832Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957933Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.957964Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33556 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.958125Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33556) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.958143Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.958230Z 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-04-08T07:11:22.958256Z 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-04-08T07:11:22.958272Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.958294Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.958304Z 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-04-08T07:11:22.958316Z 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-04-08T07:11:22.958501Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959293Z 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-04-08T07:11:22.959320Z 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-04-08T07:11:22.959333Z 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-04-08T07:11:22.959600Z 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-04-08T07:11:22.959703Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959739Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959765Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959784Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959801Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959817Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959847Z 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": "Wed, 08 Apr 2026 07:11:22 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:58434, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.959883Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58434, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960162Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58434, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960215Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960250Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.960267Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.960471Z  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-04-08T07:11:22.960492Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960500Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.960525Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960539Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33556) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960580Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.960771Z  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-04-08T07:11:22.960969Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961040Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961144Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961171Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33566 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961218Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33566) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961240Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961347Z 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-04-08T07:11:22.961381Z 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-04-08T07:11:22.961398Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961414Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.961425Z 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-04-08T07:11:22.961437Z 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-04-08T07:11:22.961633Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962353Z 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-04-08T07:11:22.962379Z 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-04-08T07:11:22.962392Z 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-04-08T07:11:22.962607Z 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-04-08T07:11:22.962723Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962757Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962782Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962798Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962814Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962833Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962864Z 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": "Wed, 08 Apr 2026 07:11:22 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:58446, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.962898Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58446, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.963134Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58446, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.963173Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.963188Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.963198Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.963498Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.963745Z  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-04-08T07:11:22.963767Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.963870Z  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-04-08T07:11:22.964074Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964124Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964213Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964354Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33580 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964400Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33580) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964417Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964474Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964505Z 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-04-08T07:11:22.964527Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33566) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964636Z 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-04-08T07:11:22.964666Z 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-04-08T07:11:22.964683Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964699Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.964709Z 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-04-08T07:11:22.964720Z 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-04-08T07:11:22.964833Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965132Z 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-04-08T07:11:22.965161Z 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-04-08T07:11:22.965174Z 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-04-08T07:11:22.965501Z 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-04-08T07:11:22.965642Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965678Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965704Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965722Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965740Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965760Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965891Z 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": "Wed, 08 Apr 2026 07:11:22 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:58462, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.965934Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58462, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966195Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58462, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966237Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966255Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.966265Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.966409Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966443Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966457Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33580) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966635Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.966815Z  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-04-08T07:11:22.966840Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.966960Z  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-04-08T07:11:22.967194Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.967252Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.967360Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968098Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33590 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968171Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33590) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968205Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968304Z 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-04-08T07:11:22.968342Z 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-04-08T07:11:22.968368Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968387Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968397Z 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-04-08T07:11:22.968422Z 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-04-08T07:11:22.968580Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.968796Z 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-04-08T07:11:22.968830Z 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-04-08T07:11:22.968845Z 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-04-08T07:11:22.968937Z 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-04-08T07:11:22.969174Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969223Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969259Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969283Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969312Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969334Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969472Z 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": "Wed, 08 Apr 2026 07:11:22 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:58474, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969522Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58474, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969767Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58474, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969818Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969839Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.969850Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.969937Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969979Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.969996Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33590) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.970232Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.970434Z  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-04-08T07:11:22.970461Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.970676Z  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-04-08T07:11:22.970900Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.970962Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971084Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971222Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33594 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971269Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33594) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971295Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971387Z 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-04-08T07:11:22.971416Z 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-04-08T07:11:22.971433Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971450Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971460Z 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-04-08T07:11:22.971473Z 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-04-08T07:11:22.971590Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.971794Z 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-04-08T07:11:22.971814Z 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-04-08T07:11:22.971828Z 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-04-08T07:11:22.972248Z 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-04-08T07:11:22.972379Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972415Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972442Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972459Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972477Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972497Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972629Z 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": "Wed, 08 Apr 2026 07:11:22 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:58478, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972674Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58478, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972907Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58478, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972945Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.972961Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.972973Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.973080Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.973115Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.973129Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33594) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.973419Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.973601Z  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-04-08T07:11:22.973624Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.973728Z  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-04-08T07:11:22.973938Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.973998Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974113Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974247Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33610 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974308Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33610) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974329Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974427Z 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-04-08T07:11:22.974461Z 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-04-08T07:11:22.974480Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974496Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974508Z 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-04-08T07:11:22.974521Z 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-04-08T07:11:22.974733Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.974949Z 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-04-08T07:11:22.974975Z 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-04-08T07:11:22.974988Z 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-04-08T07:11:22.975275Z 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-04-08T07:11:22.975405Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975439Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975464Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975482Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975498Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975516Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975646Z 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": "Wed, 08 Apr 2026 07:11:22 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:58482, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975691Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58482, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975919Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58482, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975960Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.975976Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.975987Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.976182Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.976219Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.976233Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33610) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.976425Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.976609Z  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-04-08T07:11:22.976632Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.976736Z  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-04-08T07:11:22.976948Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.976999Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977115Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977242Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33616 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977293Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33616) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977315Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977499Z 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-04-08T07:11:22.977530Z 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-04-08T07:11:22.977548Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977564Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977575Z 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-04-08T07:11:22.977587Z 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-04-08T07:11:22.977708Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.977924Z 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-04-08T07:11:22.977949Z 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-04-08T07:11:22.977963Z 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-04-08T07:11:22.978279Z 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-04-08T07:11:22.978411Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978450Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978479Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978504Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978525Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978546Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978682Z 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": "Wed, 08 Apr 2026 07:11:22 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:58496, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.978737Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58496, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979092Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58496, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979142Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979163Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.979175Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.979260Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979305Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979322Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33616) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979516Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979716Z  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-04-08T07:11:22.979746Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.979859Z  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-04-08T07:11:22.980099Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980159Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980350Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980492Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33622 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980541Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33622) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980558Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980644Z 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-04-08T07:11:22.980671Z 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-04-08T07:11:22.980688Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980704Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.980713Z 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-04-08T07:11:22.980725Z 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-04-08T07:11:22.980839Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.981775Z 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-04-08T07:11:22.981802Z 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-04-08T07:11:22.981816Z 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-04-08T07:11:22.981968Z 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-04-08T07:11:22.982103Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982152Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982182Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982200Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982216Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982236Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982268Z 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": "Wed, 08 Apr 2026 07:11:22 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:58506, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982313Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58506, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982549Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58506, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982587Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.982605Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.982615Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.982926Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983208Z  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-04-08T07:11:22.983241Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.983365Z  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-04-08T07:11:22.983602Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983640Z 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-04-08T07:11:22.983664Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33622) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983773Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983823Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983943Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33634 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.983986Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33634) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984021Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984108Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984258Z 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-04-08T07:11:22.984297Z 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-04-08T07:11:22.984316Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984332Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984344Z 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-04-08T07:11:22.984444Z 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-04-08T07:11:22.984564Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.984769Z 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-04-08T07:11:22.984790Z 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-04-08T07:11:22.984803Z 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-04-08T07:11:22.985198Z 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-04-08T07:11:22.989115Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.989156Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.989181Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.989196Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.989211Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.989228Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.993340Z 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": "Wed, 08 Apr 2026 07:11:22 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:58508, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.993413Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58508, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.997318Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58508, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.997381Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.997405Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.997417Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:22.997524Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.997571Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.997591Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33634) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.998265Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.998613Z  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-04-08T07:11:22.998645Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:22.998786Z  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-04-08T07:11:22.999110Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999231Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999354Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999580Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33650 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999687Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33650) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999713Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999820Z 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-04-08T07:11:22.999849Z 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-04-08T07:11:22.999869Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999889Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:22.999900Z 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-04-08T07:11:22.999913Z 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-04-08T07:11:23.000358Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.000749Z 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-04-08T07:11:23.001092Z 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-04-08T07:11:23.001112Z 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-04-08T07:11:23.001044Z 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-04-08T07:11:23.001256Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001296Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001322Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001338Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001353Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001374Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001405Z 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": "Wed, 08 Apr 2026 07:11:22 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:58524, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001439Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58524, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001652Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58524, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001690Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.001707Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.001717Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.002115Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.002364Z  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-04-08T07:11:23.002490Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.002614Z  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-04-08T07:11:23.002457Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.002798Z 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-04-08T07:11:23.002829Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33650) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.002969Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003032Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003116Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003268Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33664 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003328Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33664) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003345Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003430Z 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-04-08T07:11:23.003457Z 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-04-08T07:11:23.003473Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003490Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003499Z 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-04-08T07:11:23.003511Z 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-04-08T07:11:23.003630Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.003816Z 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-04-08T07:11:23.003838Z 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-04-08T07:11:23.003851Z 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-04-08T07:11:23.004216Z 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-04-08T07:11:23.004342Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004378Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004402Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004418Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004433Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004451Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004580Z 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": "Wed, 08 Apr 2026 07:11:22 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:58532, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.004622Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58532, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005089Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58532, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005148Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005165Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.005176Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.005261Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005296Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005311Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33664) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005448Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005620Z  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-04-08T07:11:23.005642Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.005741Z  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-04-08T07:11:23.005953Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.005999Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006150Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006349Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33672 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006398Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33672) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006415Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006500Z 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-04-08T07:11:23.006525Z 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-04-08T07:11:23.006545Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006559Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.006568Z 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-04-08T07:11:23.006579Z 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-04-08T07:11:23.006766Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007142Z 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-04-08T07:11:23.007169Z 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-04-08T07:11:23.007182Z 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-04-08T07:11:23.007366Z 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-04-08T07:11:23.007469Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007503Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007527Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007552Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007568Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007586Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007617Z 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": "Wed, 08 Apr 2026 07:11:22 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:58546, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007650Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58546, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007857Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58546, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007894Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.007911Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.007921Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.008240Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.008471Z  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-04-08T07:11:23.008500Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.008614Z  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-04-08T07:11:23.008838Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.008877Z 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-04-08T07:11:23.008902Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33672) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009040Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009094Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009184Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009315Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33674 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009363Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33674) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009383Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009477Z 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-04-08T07:11:23.009508Z 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-04-08T07:11:23.009527Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009552Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009564Z 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-04-08T07:11:23.009575Z 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-04-08T07:11:23.009702Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.009901Z 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-04-08T07:11:23.009924Z 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-04-08T07:11:23.009938Z 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-04-08T07:11:23.010280Z 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-04-08T07:11:23.010399Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010434Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010466Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010483Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010499Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010517Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010647Z 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": "Wed, 08 Apr 2026 07:11:22 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:58552, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010689Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58552, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010914Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58552, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010949Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.010967Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.010977Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.011068Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011099Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011111Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33674) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011305Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011484Z  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-04-08T07:11:23.011510Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.011620Z  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-04-08T07:11:23.011828Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011880Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.011964Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012101Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33686 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012147Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33686) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012166Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012255Z 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-04-08T07:11:23.012280Z 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-04-08T07:11:23.012296Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012311Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012322Z 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-04-08T07:11:23.012333Z 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-04-08T07:11:23.012441Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.012625Z 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-04-08T07:11:23.012645Z 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-04-08T07:11:23.012657Z 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-04-08T07:11:23.012934Z 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-04-08T07:11:23.013072Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013108Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013135Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013153Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013169Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013187Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013317Z 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": "Wed, 08 Apr 2026 07:11:22 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:58566, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013363Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58566, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013603Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58566, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013644Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013662Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.013673Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.013756Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013793Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013807Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33686) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.013991Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014204Z  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-04-08T07:11:23.014228Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.014335Z  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-04-08T07:11:23.014543Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014602Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014700Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014848Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33696 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014897Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33696) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.014917Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.015026Z 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-04-08T07:11:23.015056Z 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-04-08T07:11:23.015074Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.015091Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.015101Z 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-04-08T07:11:23.015116Z 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-04-08T07:11:23.015237Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.015446Z 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-04-08T07:11:23.015471Z 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-04-08T07:11:23.015484Z 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-04-08T07:11:23.015822Z 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-04-08T07:11:23.015952Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.015990Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016036Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016058Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016074Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016091Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016222Z 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": "Wed, 08 Apr 2026 07:11:22 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:58576, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016261Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58576, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016484Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58576, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016522Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016543Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.016552Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.016627Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016657Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016670Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33696) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.016851Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017034Z  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-04-08T07:11:23.017056Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017154Z  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-04-08T07:11:23.017349Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017394Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017479Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017602Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33704 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017643Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33704) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017660Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017746Z 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-04-08T07:11:23.017774Z 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-04-08T07:11:23.017791Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017806Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.017815Z 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-04-08T07:11:23.017826Z 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-04-08T07:11:23.017934Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018135Z 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-04-08T07:11:23.018159Z 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-04-08T07:11:23.018172Z 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-04-08T07:11:23.018483Z 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-04-08T07:11:23.018611Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018645Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018668Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018683Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018699Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018716Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018843Z 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": "Wed, 08 Apr 2026 07:11:22 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:58578, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.018888Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58578, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019151Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58578, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019200Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019221Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.019232Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.019351Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019388Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019402Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33704) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019608Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.019789Z  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-04-08T07:11:23.019813Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.019962Z  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-04-08T07:11:23.020211Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020268Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020365Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020514Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33714 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020587Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33714) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020607Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020701Z 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-04-08T07:11:23.020728Z 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-04-08T07:11:23.020745Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020762Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.020773Z 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-04-08T07:11:23.020784Z 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-04-08T07:11:23.020985Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021480Z 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-04-08T07:11:23.021507Z 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-04-08T07:11:23.021521Z 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-04-08T07:11:23.021737Z 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-04-08T07:11:23.021852Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021901Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021928Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021946Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021963Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.021983Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022037Z 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": "Wed, 08 Apr 2026 07:11:22 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:58590, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022077Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58590, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022324Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58590, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022371Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022390Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.022403Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.022742Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.022918Z  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-04-08T07:11:23.022942Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.023068Z  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-04-08T07:11:23.023313Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023352Z 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-04-08T07:11:23.023378Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33714) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023495Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023560Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023656Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023795Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33728 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023848Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33728) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023870Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.023970Z 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-04-08T07:11:23.024002Z 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-04-08T07:11:23.024044Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.024063Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.024074Z 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-04-08T07:11:23.024087Z 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-04-08T07:11:23.024285Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.024854Z 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-04-08T07:11:23.024883Z 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-04-08T07:11:23.024899Z 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-04-08T07:11:23.025146Z 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-04-08T07:11:23.025265Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025383Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025418Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025438Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025456Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025477Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025518Z 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": "Wed, 08 Apr 2026 07:11:22 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:58600, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025571Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58600, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025824Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58600, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025873Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.025893Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.025905Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.026236Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.026421Z  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-04-08T07:11:23.026447Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.026571Z  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-04-08T07:11:23.026812Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.026854Z 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-04-08T07:11:23.026878Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33728) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.026997Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027075Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027203Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33734 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027254Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33734) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027276Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027372Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027542Z 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-04-08T07:11:23.027574Z 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-04-08T07:11:23.027592Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027610Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.027621Z 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-04-08T07:11:23.027633Z 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-04-08T07:11:23.027832Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.028235Z 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-04-08T07:11:23.028263Z 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-04-08T07:11:23.028277Z 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-04-08T07:11:23.028488Z 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-04-08T07:11:23.028612Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030094Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030132Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030156Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030174Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030195Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030337Z 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": "Wed, 08 Apr 2026 07:11:22 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:58608, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030390Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58608, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030683Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58608, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030730Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030749Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.030760Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.030848Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030886Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.030903Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33734) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.031123Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.032716Z  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-04-08T07:11:23.032743Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.032867Z  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-04-08T07:11:23.033109Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033170Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033272Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033430Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33746 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033483Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33746) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033505Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033613Z 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-04-08T07:11:23.033647Z 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-04-08T07:11:23.033666Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033685Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.033696Z 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-04-08T07:11:23.033709Z 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-04-08T07:11:23.033831Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.035773Z 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-04-08T07:11:23.035802Z 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-04-08T07:11:23.035816Z 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-04-08T07:11:23.036045Z 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-04-08T07:11:23.036179Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036221Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036249Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036268Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036286Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036308Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036343Z 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": "Wed, 08 Apr 2026 07:11:22 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:58610, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036380Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58610, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036642Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58610, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036688Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.036708Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.036719Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.038463Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.038667Z  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-04-08T07:11:23.038694Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.038817Z  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-04-08T07:11:23.039112Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039156Z 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-04-08T07:11:23.039186Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33746) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039314Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039375Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039481Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039634Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33758 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039688Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33758) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039711Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039817Z 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-04-08T07:11:23.039952Z 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-04-08T07:11:23.039979Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.039999Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.040025Z 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-04-08T07:11:23.040040Z 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-04-08T07:11:23.040260Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.040723Z 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-04-08T07:11:23.040752Z 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-04-08T07:11:23.040767Z 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-04-08T07:11:23.040991Z 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-04-08T07:11:23.041134Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041175Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041206Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041227Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041247Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041270Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041314Z 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": "Wed, 08 Apr 2026 07:11:22 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:58616, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041354Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58616, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041624Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58616, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041671Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.041691Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.041702Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.042041Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.042228Z  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-04-08T07:11:23.042252Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.042367Z  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-04-08T07:11:23.042615Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.042655Z 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-04-08T07:11:23.042677Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33758) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.042790Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.042839Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.042926Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043081Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33764 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043128Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33764) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043145Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043232Z 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-04-08T07:11:23.043262Z 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-04-08T07:11:23.043278Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043295Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043307Z 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-04-08T07:11:23.043318Z 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-04-08T07:11:23.043433Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.043639Z 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-04-08T07:11:23.043665Z 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-04-08T07:11:23.043679Z 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-04-08T07:11:23.043988Z 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-04-08T07:11:23.044134Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044172Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044200Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044218Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044235Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044255Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044397Z 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": "Wed, 08 Apr 2026 07:11:22 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:58632, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044442Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58632, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044694Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58632, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044733Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044750Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.044760Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.044842Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044877Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.044892Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33764) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045096Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045284Z  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-04-08T07:11:23.045310Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "connection": "close", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.045420Z  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-04-08T07:11:23.045643Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045694Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045784Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045915Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33780 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045962Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33780) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.045981Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.046098Z 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-04-08T07:11:23.046129Z 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-04-08T07:11:23.046146Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.046163Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.046175Z 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-04-08T07:11:23.046187Z 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-04-08T07:11:23.046386Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.046896Z 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-04-08T07:11:23.046923Z 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-04-08T07:11:23.046936Z 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-04-08T07:11:23.047169Z 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-04-08T07:11:23.047282Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047320Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047347Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047366Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047385Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047404Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047437Z 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": "Wed, 08 Apr 2026 07:11:22 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:58634, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047478Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58634, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047727Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58634, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047774Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.047793Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.047803Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.048151Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.048330Z  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-04-08T07:11:23.048354Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.048461Z  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-04-08T07:11:23.048557Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.048662Z 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-04-08T07:11:23.048690Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33780) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.048937Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049027Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049130Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049279Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33784 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049330Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33784) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049350Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049442Z 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-04-08T07:11:23.049471Z 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-04-08T07:11:23.049489Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049506Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049518Z 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-04-08T07:11:23.049530Z 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-04-08T07:11:23.049667Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.049884Z 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-04-08T07:11:23.049911Z 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-04-08T07:11:23.049925Z 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-04-08T07:11:23.050273Z 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-04-08T07:11:23.050399Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050437Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050464Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050485Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050502Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050523Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050670Z 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": "Wed, 08 Apr 2026 07:11:22 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:58638, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050717Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58638, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050940Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58638, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050982Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.050999Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.051029Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.051112Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.051147Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.051161Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33784) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.051359Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.051555Z  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-04-08T07:11:23.051580Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.051696Z  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-04-08T07:11:23.051908Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.051969Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052091Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052229Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33794 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052274Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33794) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052293Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052380Z 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-04-08T07:11:23.052408Z 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-04-08T07:11:23.052426Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052443Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052453Z 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-04-08T07:11:23.052467Z 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-04-08T07:11:23.052586Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.052788Z 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-04-08T07:11:23.052812Z 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-04-08T07:11:23.052825Z 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-04-08T07:11:23.053148Z 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-04-08T07:11:23.053271Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053309Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053337Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053356Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053374Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053394Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053525Z 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": "Wed, 08 Apr 2026 07:11:22 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:58652, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053578Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58652, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053822Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58652, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053861Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.053878Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.053889Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.053976Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054028Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054045Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33794) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054225Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054406Z  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-04-08T07:11:23.054430Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.054547Z  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-04-08T07:11:23.054722Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054767Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054877Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33808 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054923Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33808) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.054941Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.055067Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.055207Z 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-04-08T07:11:23.055238Z 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-04-08T07:11:23.055255Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.055271Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.055282Z 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-04-08T07:11:23.055295Z 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-04-08T07:11:23.055416Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.055647Z 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-04-08T07:11:23.055670Z 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-04-08T07:11:23.055683Z 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-04-08T07:11:23.056002Z 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-04-08T07:11:23.056146Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056183Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056210Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056228Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056245Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056264Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056396Z 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": "Wed, 08 Apr 2026 07:11:22 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:58656, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.056440Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58656, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057167Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58656, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057449Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057506Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.057525Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.057614Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057658Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057680Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33808) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057804Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.057997Z  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-04-08T07:11:23.058047Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.058160Z  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-04-08T07:11:23.058375Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058436Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058542Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058674Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33812 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058732Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33812) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058757Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058853Z 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-04-08T07:11:23.058888Z 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-04-08T07:11:23.058912Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058935Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.058951Z 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-04-08T07:11:23.059045Z 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-04-08T07:11:23.059182Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.059395Z 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-04-08T07:11:23.059424Z 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-04-08T07:11:23.059437Z 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-04-08T07:11:23.059743Z 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-04-08T07:11:23.059903Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.059951Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.059992Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060037Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060064Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060095Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060233Z 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": "Wed, 08 Apr 2026 07:11:22 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:58670, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060285Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58670, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060541Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58670, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060587Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060610Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.060624Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.060702Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060743Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060764Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33812) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.060955Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061158Z  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-04-08T07:11:23.061193Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.061313Z  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-04-08T07:11:23.061545Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061613Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061716Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061854Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33822 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061911Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33822) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.061938Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.062052Z 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-04-08T07:11:23.062089Z 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-04-08T07:11:23.062108Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.062135Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.062152Z 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-04-08T07:11:23.062172Z 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-04-08T07:11:23.062309Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.062519Z 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-04-08T07:11:23.062557Z 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-04-08T07:11:23.062571Z 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-04-08T07:11:23.062855Z 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-04-08T07:11:23.062991Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063058Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063093Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063118Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063143Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063169Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063305Z 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": "Wed, 08 Apr 2026 07:11:22 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:58674, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063356Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58674, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063609Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58674, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063657Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063681Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.063697Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.063777Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063817Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.063839Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33822) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064043Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064227Z  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-04-08T07:11:23.064265Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.064376Z  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-04-08T07:11:23.064596Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064659Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064760Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064895Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33828 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064950Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33828) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.064975Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.065086Z 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-04-08T07:11:23.065125Z 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-04-08T07:11:23.065149Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.065170Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.065186Z 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-04-08T07:11:23.065205Z 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-04-08T07:11:23.065326Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.065550Z 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-04-08T07:11:23.065580Z 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-04-08T07:11:23.065602Z 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-04-08T07:11:23.065889Z 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-04-08T07:11:23.066035Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066079Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066116Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066141Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066164Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066191Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066330Z 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": "Wed, 08 Apr 2026 07:11:22 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:58684, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066381Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58684, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066620Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58684, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066664Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066688Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.066704Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.066786Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066828Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.066848Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33828) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067067Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067247Z  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-04-08T07:11:23.067271Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.067375Z  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-04-08T07:11:23.067603Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067654Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067750Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067882Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33838 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067925Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33838) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.067941Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.068051Z 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-04-08T07:11:23.068081Z 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-04-08T07:11:23.068098Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.068113Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.068123Z 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-04-08T07:11:23.068134Z 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-04-08T07:11:23.068258Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.068480Z 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-04-08T07:11:23.068503Z 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-04-08T07:11:23.068516Z 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-04-08T07:11:23.068825Z 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-04-08T07:11:23.068956Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.068996Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069037Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069055Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069072Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069092Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069224Z 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": "Wed, 08 Apr 2026 07:11:22 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:58690, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069265Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58690, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069505Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58690, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069557Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069577Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.069588Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.069673Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069709Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069724Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33838) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.069916Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070145Z  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-04-08T07:11:23.070175Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.070282Z  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-04-08T07:11:23.070500Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070559Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070659Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070794Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33854 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070844Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33854) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070863Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.070960Z 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-04-08T07:11:23.070990Z 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-04-08T07:11:23.071031Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071050Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071063Z 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-04-08T07:11:23.071075Z 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-04-08T07:11:23.071199Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071419Z 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-04-08T07:11:23.071444Z 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-04-08T07:11:23.071458Z 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-04-08T07:11:23.071780Z 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-04-08T07:11:23.071909Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071948Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071976Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.071995Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072034Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072055Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072189Z 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": "Wed, 08 Apr 2026 07:11:22 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:58704, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072235Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58704, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072480Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58704, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072520Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072544Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.072555Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.072636Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072671Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072686Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33854) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.072867Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073072Z  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-04-08T07:11:23.073096Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.073200Z  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-04-08T07:11:23.073395Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073447Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073547Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073691Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33868 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073737Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33868) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073756Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073846Z 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-04-08T07:11:23.073875Z 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-04-08T07:11:23.073948Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073968Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.073979Z 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-04-08T07:11:23.073993Z 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-04-08T07:11:23.074133Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074349Z 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-04-08T07:11:23.074371Z 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-04-08T07:11:23.074384Z 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-04-08T07:11:23.074672Z 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-04-08T07:11:23.074796Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074832Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074858Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074875Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074891Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.074910Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075051Z 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": "Wed, 08 Apr 2026 07:11:22 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:58706, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075096Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58706, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075322Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58706, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075360Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075376Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.075386Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.075466Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075502Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075516Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33868) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075704Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.075876Z  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-04-08T07:11:23.075900Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.076002Z  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-04-08T07:11:23.076236Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076295Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076406Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076567Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33882 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076620Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33882) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076640Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076736Z 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-04-08T07:11:23.076762Z 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-04-08T07:11:23.076778Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076792Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.076801Z 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-04-08T07:11:23.076812Z 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-04-08T07:11:23.076937Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077159Z 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-04-08T07:11:23.077184Z 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-04-08T07:11:23.077197Z 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-04-08T07:11:23.077502Z 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-04-08T07:11:23.077644Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077681Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077709Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077728Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077745Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077765Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077888Z 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": "Wed, 08 Apr 2026 07:11:22 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:58722, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.077928Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58722, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078169Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58722, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078211Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078228Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.078239Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.078320Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078354Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078367Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33882) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078555Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.078743Z  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-04-08T07:11:23.078766Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-length": "13", "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-04-08T07:11:23.078872Z  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-04-08T07:11:23.079105Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079157Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079251Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079378Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33894 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079425Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33894) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079444Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079544Z 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-04-08T07:11:23.079573Z 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-04-08T07:11:23.079590Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079607Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.079617Z 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-04-08T07:11:23.079630Z 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-04-08T07:11:23.079819Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080413Z 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-04-08T07:11:23.080440Z 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-04-08T07:11:23.080452Z 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-04-08T07:11:23.080673Z 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-04-08T07:11:23.080797Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080834Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080862Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080879Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080897Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080917Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080950Z 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": "Wed, 08 Apr 2026 07:11:22 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:58738, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.080985Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58738, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.081236Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58738, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.081275Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.081291Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.081304Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.081626Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.081796Z  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-04-08T07:11:23.081820Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "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-04-08T07:11:23.081927Z  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-04-08T07:11:23.082173Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082215Z 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-04-08T07:11:23.082239Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33894) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082354Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082410Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082509Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082656Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33908 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082703Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33908) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082723Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082818Z 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-04-08T07:11:23.082845Z 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-04-08T07:11:23.082863Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082880Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.082890Z 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-04-08T07:11:23.082902Z 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-04-08T07:11:23.083126Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.083635Z 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-04-08T07:11:23.083662Z 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-04-08T07:11:23.083677Z 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-04-08T07:11:23.083896Z 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-04-08T07:11:23.084027Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084206Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084259Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084283Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084303Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084324Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084464Z 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": "Wed, 08 Apr 2026 07:11:22 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:58748, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084512Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58748, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084773Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58748, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084819Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084838Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.084848Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.084932Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084970Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.084984Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33908) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.085201Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.085404Z  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-04-08T07:11:23.085429Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.085552Z  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-04-08T07:11:23.085782Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.085833Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.085931Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086079Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33912 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086129Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33912) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086147Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086244Z 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-04-08T07:11:23.086274Z 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-04-08T07:11:23.086292Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086308Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086319Z 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-04-08T07:11:23.086331Z 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-04-08T07:11:23.086460Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.086701Z 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-04-08T07:11:23.086729Z 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-04-08T07:11:23.086744Z 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-04-08T07:11:23.087104Z 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-04-08T07:11:23.087233Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087275Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087307Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087330Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087351Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087376Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087547Z 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": "Wed, 08 Apr 2026 07:11:22 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:58758, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087597Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58758, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087864Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58758, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087911Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.087930Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.087943Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.088058Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.088097Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.088113Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33912) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.088306Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.088495Z  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-04-08T07:11:23.088518Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.088634Z  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-04-08T07:11:23.088851Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.088910Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089044Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089181Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33928 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089226Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33928) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089244Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089334Z 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-04-08T07:11:23.089361Z 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-04-08T07:11:23.089379Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089395Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089406Z 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-04-08T07:11:23.089418Z 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-04-08T07:11:23.089545Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.089748Z 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-04-08T07:11:23.089772Z 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-04-08T07:11:23.089784Z 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-04-08T07:11:23.090128Z 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-04-08T07:11:23.090262Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090301Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090326Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090343Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090358Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090376Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090514Z 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": "Wed, 08 Apr 2026 07:11:22 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:58774, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090570Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58774, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090813Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58774, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090857Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.090874Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.090884Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.090966Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091000Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091033Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33928) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091217Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091401Z  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-04-08T07:11:23.091426Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.091531Z  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-04-08T07:11:23.091745Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091797Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.091892Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092042Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33942 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092087Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33942) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092103Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092194Z 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-04-08T07:11:23.092223Z 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-04-08T07:11:23.092239Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092255Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092266Z 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-04-08T07:11:23.092279Z 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-04-08T07:11:23.092398Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.092604Z 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-04-08T07:11:23.092628Z 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-04-08T07:11:23.092641Z 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-04-08T07:11:23.092936Z 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-04-08T07:11:23.093079Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093118Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093146Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093163Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093180Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093198Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093329Z 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": "Wed, 08 Apr 2026 07:11:22 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:58786, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093373Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58786, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093604Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58786, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093646Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093664Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.093674Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.093754Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093790Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093805Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33942) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.093990Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094191Z  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-04-08T07:11:23.094215Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094324Z  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-04-08T07:11:23.094543Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094595Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094679Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094800Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33952 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094845Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33952) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094862Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.094952Z 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-04-08T07:11:23.094980Z 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-04-08T07:11:23.094996Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095028Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095038Z 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-04-08T07:11:23.095049Z 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-04-08T07:11:23.095167Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095371Z 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-04-08T07:11:23.095395Z 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-04-08T07:11:23.095407Z 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-04-08T07:11:23.095705Z 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-04-08T07:11:23.095823Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095859Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095884Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095901Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095918Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.095935Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096079Z 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": "Wed, 08 Apr 2026 07:11:22 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:58798, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096122Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58798, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096347Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58798, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096387Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096404Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.096414Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.096494Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096527Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096548Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33952) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096728Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.096906Z  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-04-08T07:11:23.096930Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.097049Z  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-04-08T07:11:23.097250Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097300Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097390Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097513Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33958 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097568Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33958) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097589Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097675Z 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-04-08T07:11:23.097701Z 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-04-08T07:11:23.097716Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097731Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.097740Z 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-04-08T07:11:23.097752Z 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-04-08T07:11:23.097867Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098086Z 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-04-08T07:11:23.098110Z 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-04-08T07:11:23.098124Z 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-04-08T07:11:23.098436Z 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-04-08T07:11:23.098568Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098605Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098632Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098651Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098669Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098688Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098825Z 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": "Wed, 08 Apr 2026 07:11:22 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:58806, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.098869Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58806, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099132Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58806, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099177Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099195Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.099207Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.099291Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099327Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099342Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33958) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099519Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.099708Z  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-04-08T07:11:23.099732Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.099837Z  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-04-08T07:11:23.100070Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100124Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100216Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100296Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33968 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100559Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33968) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100581Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100673Z 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-04-08T07:11:23.100701Z 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-04-08T07:11:23.100718Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100735Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.100745Z 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-04-08T07:11:23.100758Z 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-04-08T07:11:23.100877Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101110Z 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-04-08T07:11:23.101133Z 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-04-08T07:11:23.101146Z 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-04-08T07:11:23.101442Z 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-04-08T07:11:23.101579Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101627Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101656Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101676Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101694Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101712Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101877Z 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": "Wed, 08 Apr 2026 07:11:22 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:58822, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.101923Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58822, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102194Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58822, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102240Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102258Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.102269Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.102353Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102389Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102403Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33968) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102608Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102792Z  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-04-08T07:11:23.102817Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.102925Z  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-04-08T07:11:23.103161Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103217Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103318Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103452Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33972 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103499Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33972) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103518Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103615Z 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-04-08T07:11:23.103644Z 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-04-08T07:11:23.103660Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103676Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.103686Z 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-04-08T07:11:23.103699Z 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-04-08T07:11:23.103896Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104372Z 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-04-08T07:11:23.104400Z 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-04-08T07:11:23.104414Z 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-04-08T07:11:23.104627Z 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-04-08T07:11:23.104739Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104778Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104805Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104824Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104842Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104858Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104886Z 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": "Wed, 08 Apr 2026 07:11:22 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:58836, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.104917Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58836, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.105171Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58836, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.105215Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.105233Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.105243Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.105557Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.105726Z  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-04-08T07:11:23.105748Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.105856Z  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-04-08T07:11:23.106103Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106141Z 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-04-08T07:11:23.106165Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33972) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106273Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106322Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106415Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106546Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33980 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106595Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33980) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106614Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106704Z 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-04-08T07:11:23.106735Z 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-04-08T07:11:23.106753Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106769Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.106780Z 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-04-08T07:11:23.106792Z 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-04-08T07:11:23.106991Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.107645Z 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-04-08T07:11:23.107673Z 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-04-08T07:11:23.107687Z 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-04-08T07:11:23.107898Z 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-04-08T07:11:23.108026Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108067Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108097Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108118Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108136Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108158Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108196Z 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": "Wed, 08 Apr 2026 07:11:22 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:58850, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108237Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58850, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108490Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58850, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108546Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.108567Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.108579Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.108913Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.109135Z  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-04-08T07:11:23.109161Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.109282Z  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-04-08T07:11:23.109524Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.109574Z 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-04-08T07:11:23.109601Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33980) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.109724Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.109785Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.109888Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110050Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33990 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110121Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33990) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110143Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110245Z 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-04-08T07:11:23.110280Z 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-04-08T07:11:23.110301Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110319Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110331Z 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-04-08T07:11:23.110344Z 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-04-08T07:11:23.110471Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.110695Z 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-04-08T07:11:23.110720Z 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-04-08T07:11:23.110732Z 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-04-08T07:11:23.111027Z 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-04-08T07:11:23.111142Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111176Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111201Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111216Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111231Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111247Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111371Z 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": "Wed, 08 Apr 2026 07:11:22 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:58852, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111411Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58852, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111620Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58852, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111655Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111670Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.111678Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.111752Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111781Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111793Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:33990) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.111955Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112135Z  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-04-08T07:11:23.112160Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.112261Z  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-04-08T07:11:23.112484Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112552Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112660Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112804Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:33992 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112857Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:33992) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112879Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.112982Z 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-04-08T07:11:23.113055Z 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-04-08T07:11:23.113078Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.113096Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.113109Z 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-04-08T07:11:23.113122Z 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-04-08T07:11:23.113340Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.113807Z 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-04-08T07:11:23.113832Z 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-04-08T07:11:23.113844Z 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-04-08T07:11:23.114040Z 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-04-08T07:11:23.114143Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114176Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114199Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114214Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114229Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114245Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114275Z 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": "Wed, 08 Apr 2026 07:11:22 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:58854, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114309Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58854, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114512Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58854, peer: 127.0.0.1:46391, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114553Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.114568Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.114577Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.114847Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115022Z  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-04-08T07:11:23.115044Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close", "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-04-08T07:11:23.115141Z  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-04-08T07:11:23.115376Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115418Z 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-04-08T07:11:23.115445Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:33992) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115584Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115644Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115747Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115891Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34000 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115944Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34000) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.115965Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.116084Z 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-04-08T07:11:23.116118Z 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-04-08T07:11:23.116139Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.116156Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.116170Z 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-04-08T07:11:23.116183Z 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-04-08T07:11:23.116391Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.116922Z 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-04-08T07:11:23.116947Z 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-04-08T07:11:23.116959Z 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-04-08T07:11:23.117155Z 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-04-08T07:11:23.117267Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117302Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117326Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117341Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117356Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117373Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117406Z 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": "Wed, 08 Apr 2026 07:11:22 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:58870, peer: 127.0.0.1:46391, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117643Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58870, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117883Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58870, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117921Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.117935Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.117944Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.118046Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.118085Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.118101Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34000) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.118306Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.118515Z  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-04-08T07:11:23.118548Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.118668Z  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-04-08T07:11:23.118899Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.118958Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119083Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119215Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34004 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119257Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34004) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119273Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119357Z 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-04-08T07:11:23.119382Z 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-04-08T07:11:23.119398Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119412Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119421Z 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-04-08T07:11:23.119433Z 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-04-08T07:11:23.119545Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.119722Z 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-04-08T07:11:23.119740Z 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-04-08T07:11:23.119752Z 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-04-08T07:11:23.120021Z 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-04-08T07:11:23.120136Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120169Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120192Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120208Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120222Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120238Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120358Z 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": "Wed, 08 Apr 2026 07:11:22 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:58882, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120398Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58882, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120624Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58882, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120665Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120686Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.120698Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.120793Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120834Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.120851Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34004) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.121078Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.121277Z  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-04-08T07:11:23.121303Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.121425Z  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-04-08T07:11:23.121717Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.121780Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.121891Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122050Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34006 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122104Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34006) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122125Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122229Z 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-04-08T07:11:23.122261Z 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-04-08T07:11:23.122282Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122301Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122312Z 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-04-08T07:11:23.122324Z 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-04-08T07:11:23.122448Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.122663Z 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-04-08T07:11:23.122688Z 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-04-08T07:11:23.122701Z 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-04-08T07:11:23.123029Z 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-04-08T07:11:23.123156Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123195Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123223Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123244Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123261Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123281Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123421Z 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": "Wed, 08 Apr 2026 07:11:22 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:58892, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123468Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58892, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123716Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58892, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123761Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123781Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.123792Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.123873Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123910Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.123927Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34006) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.124139Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.124331Z  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-04-08T07:11:23.124356Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.124465Z  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-04-08T07:11:23.124698Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.124751Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.124857Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125002Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34008 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125071Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34008) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125093Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125196Z 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-04-08T07:11:23.125229Z 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-04-08T07:11:23.125248Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125270Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125283Z 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-04-08T07:11:23.125295Z 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-04-08T07:11:23.125424Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.125666Z 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-04-08T07:11:23.125694Z 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-04-08T07:11:23.125709Z 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-04-08T07:11:23.126049Z 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-04-08T07:11:23.126186Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126225Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126255Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126275Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126294Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126314Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126454Z 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": "Wed, 08 Apr 2026 07:11:22 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:58908, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126501Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58908, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126764Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58908, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126812Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126834Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.126848Z DEBUG io::copy::tcp::linux: 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-04-08T07:11:23.126934Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126969Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.126983Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34008) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.127162Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.127348Z  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-04-08T07:11:23.127374Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "x-custom": "unique", "date": "Wed, 08 Apr 2026 07:11:22 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-04-08T07:11:23.127481Z  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-04-08T07:11:23.127731Z 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:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.127784Z DEBUG isahc::handler:  Trying 127.0.0.1:44329... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.127879Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44329 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44329/hello [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128034Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34012 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128083Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34012) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128102Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128195Z 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-04-08T07:11:23.128226Z 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-04-08T07:11:23.128243Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128261Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128273Z 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-04-08T07:11:23.128286Z 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-04-08T07:11:23.128412Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.128641Z 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-04-08T07:11:23.128666Z 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-04-08T07:11:23.128680Z 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-04-08T07:11:23.129021Z 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-04-08T07:11:23.129150Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129192Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129221Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129241Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129260Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 08 Apr 2026 07:11:22 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129279Z 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": "Wed, 08 Apr 2026 07:11:22 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129420Z 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": "Wed, 08 Apr 2026 07:11:22 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:58918, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129467Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58918, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129734Z 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": "Wed, 08 Apr 2026 07:11:22 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:58918, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129779Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2026-04-08T07:11:23.129799Z DEBUG io::copy::tcp::linux: 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 [WARN] too many lines in the log, truncating it