[INFO] cloning repository https://github.com/majksa-dev/rust-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/majksa-dev/rust-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f0f15f2226e0e69e42cb6e14f2eb0cbbb213a17 [INFO] testing majksa-dev/rust-gateway against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] finished tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] tweaked toml for git repo https://github.com/majksa-dev/rust-gateway written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majksa-dev/rust-gateway on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 056b7580881f5ead0bc0c63e26f7b5893077123c32bcbd52373a2a3c1aa4891c [INFO] running `Command { std: "docker" "start" "-a" "056b7580881f5ead0bc0c63e26f7b5893077123c32bcbd52373a2a3c1aa4891c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "056b7580881f5ead0bc0c63e26f7b5893077123c32bcbd52373a2a3c1aa4891c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056b7580881f5ead0bc0c63e26f7b5893077123c32bcbd52373a2a3c1aa4891c", kill_on_drop: false }` [INFO] [stdout] 056b7580881f5ead0bc0c63e26f7b5893077123c32bcbd52373a2a3c1aa4891c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90bc3b777375d651097847aca94b62bb6c7a754aa6d5be766b78e91209eb528c [INFO] running `Command { std: "docker" "start" "-a" "90bc3b777375d651097847aca94b62bb6c7a754aa6d5be766b78e91209eb528c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lazy_static v1.4.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 syn v2.0.68 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling 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 regex v1.10.6 [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 48.81s [INFO] running `Command { std: "docker" "inspect" "90bc3b777375d651097847aca94b62bb6c7a754aa6d5be766b78e91209eb528c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bc3b777375d651097847aca94b62bb6c7a754aa6d5be766b78e91209eb528c", kill_on_drop: false }` [INFO] [stdout] 90bc3b777375d651097847aca94b62bb6c7a754aa6d5be766b78e91209eb528c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2d3405e59d890d7142c365e844cb475a3897553d7f9b3d795b3e8d1607c8d89 [INFO] running `Command { std: "docker" "start" "-a" "d2d3405e59d890d7142c365e844cb475a3897553d7f9b3d795b3e8d1607c8d89", 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 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 vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling assert_fs v1.1.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling parse-display-derive v0.9.0 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling rcgen v0.13.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling parse-display v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling docker_credential v1.3.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling bollard-stubs v1.44.0-rc.2 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling test-macros v0.1.5 (https://github.com/majksa-dev/rust-testing-utils?tag=0.1.5#8ee4e3bf) [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling hyperlocal-next v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling wiremock v0.6.1 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling bollard v0.16.1 [INFO] [stderr] Compiling testcontainers v0.18.0 [INFO] [stderr] Compiling testing-utils v0.1.5 (https://github.com/majksa-dev/rust-testing-utils?tag=0.1.5#8ee4e3bf) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "d2d3405e59d890d7142c365e844cb475a3897553d7f9b3d795b3e8d1607c8d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d3405e59d890d7142c365e844cb475a3897553d7f9b3d795b3e8d1607c8d89", kill_on_drop: false }` [INFO] [stdout] d2d3405e59d890d7142c365e844cb475a3897553d7f9b3d795b3e8d1607c8d89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70d7462ba962f89c87a832260a08b4cb3846c0e74209e8092e72fecf1f8c7406 [INFO] running `Command { std: "docker" "start" "-a" "70d7462ba962f89c87a832260a08b4cb3846c0e74209e8092e72fecf1f8c7406", 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.71s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gateway-a38a90efeac1a481) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test gateway::router::param::router::tests::test_add ... ok [INFO] [stdout] test server::app::tests::test_server_builder ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gateway-4594aa3b1e89680f) [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-cd91e3397843458e) [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-abc1f2ffc4fa5fe2) [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-b966ca21e1a57e0e) [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-090109d7cd52a7a2) [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-d99e52b57604fc1e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/empty_server.rs (/opt/rustwide/target/debug/deps/empty_server-9ce99e893499f478) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2025-09-03T02:25:17.676253Z DEBUG gateway::server::app: Starting server [INFO] [stdout] at src/server/app.rs:167 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.676492Z DEBUG isahc::agent: agent waker listening on 127.0.0.1:40827 [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] 2025-09-03T02:25:17.676694Z DEBUG gateway::http::server: Listening on: 127.0.0.1:40179 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.676864Z DEBUG isahc::agent: agent took 420.23µ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: 40827 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.676764Z DEBUG gateway::http::server: Listening on: 127.0.0.1:39489 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.677855Z  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] 2025-09-03T02:25:17.678449Z DEBUG isahc::handler:  Trying 127.0.0.1:39489... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:39489/ [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.678594Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 39489 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:39489/ [INFO] [stdout] [INFO] [stdout] test tests::should_succeed ... FAILED [INFO] [stdout] 2025-09-03T02:25:17.680401Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:55872 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.680759Z 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:39489/ [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.681076Z  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] 2025-09-03T02:25:17.681196Z  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] 2025-09-03T02:25:17.681526Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.681666Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.681850Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50776 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.681937Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50776) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.681999Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.682234Z 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] 2025-09-03T02:25:17.682286Z 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] 2025-09-03T02:25:17.682325Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.682361Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.682378Z 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] 2025-09-03T02:25:17.682398Z 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] 2025-09-03T02:25:17.682571Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.682856Z 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] 2025-09-03T02:25:17.682890Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.682922Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683225Z 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] 2025-09-03T02:25:17.683492Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683585Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683662Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683697Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683716Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683762Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.683963Z 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, 03 Sep 2025 02:25:17 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:54056, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684026Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54056, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684407Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54056, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684456Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684506Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.684523Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.684666Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684724Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684712Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684743Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50776) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.684930Z  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] 2025-09-03T02:25:17.684972Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.685165Z  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] 2025-09-03T02:25:17.685409Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685473Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685585Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685653Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50778 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685717Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50778) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685737Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685864Z 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] 2025-09-03T02:25:17.685894Z 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] 2025-09-03T02:25:17.685915Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685940Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.685950Z 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] 2025-09-03T02:25:17.685963Z 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] 2025-09-03T02:25:17.686293Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.686805Z 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] 2025-09-03T02:25:17.686832Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.686846Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687120Z 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] 2025-09-03T02:25:17.687262Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687307Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687336Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687356Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687373Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687392Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687428Z 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, 03 Sep 2025 02:25:17 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:54068, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687461Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54068, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687850Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54068, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687894Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.687935Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.687948Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.688236Z  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] 2025-09-03T02:25:17.688254Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.688261Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.688303Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.688319Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50778) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.688104Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.688583Z  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] 2025-09-03T02:25:17.688822Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.688882Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689021Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689240Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50784 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689364Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50784) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689453Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689645Z 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] 2025-09-03T02:25:17.689710Z 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] 2025-09-03T02:25:17.689752Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689795Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.689831Z 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] 2025-09-03T02:25:17.689864Z 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] 2025-09-03T02:25:17.690219Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.690988Z 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] 2025-09-03T02:25:17.691328Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691378Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691298Z 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] 2025-09-03T02:25:17.691614Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691701Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691783Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691838Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691879Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.691926Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692136Z 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, 03 Sep 2025 02:25:17 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:54084, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692226Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54084, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692499Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54084, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692730Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692899Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.692966Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.693263Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.693455Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.693121Z  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] 2025-09-03T02:25:17.693550Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.693733Z  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] 2025-09-03T02:25:17.693834Z 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] 2025-09-03T02:25:17.694144Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50784) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694330Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694428Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694608Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50796 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694705Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694893Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50796) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.694955Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.695105Z 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] 2025-09-03T02:25:17.695165Z 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] 2025-09-03T02:25:17.695203Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.695239Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.695272Z 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] 2025-09-03T02:25:17.695308Z 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] 2025-09-03T02:25:17.695466Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.695936Z 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] 2025-09-03T02:25:17.696266Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696347Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696238Z 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] 2025-09-03T02:25:17.696540Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696632Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696770Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696823Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696917Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.696964Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.697156Z 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, 03 Sep 2025 02:25:17 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:54098, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.697228Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54098, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.697486Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54098, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.697711Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.697902Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.698164Z  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] 2025-09-03T02:25:17.697971Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.698359Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.698523Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.698606Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.698942Z  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] 2025-09-03T02:25:17.698770Z 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] 2025-09-03T02:25:17.699036Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50796) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701168Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701346Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701559Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50798 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701737Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50798) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701646Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.701885Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.702098Z 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] 2025-09-03T02:25:17.702164Z 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] 2025-09-03T02:25:17.702201Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.702257Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.702296Z 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] 2025-09-03T02:25:17.702326Z 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] 2025-09-03T02:25:17.702498Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.702877Z 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] 2025-09-03T02:25:17.703235Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703288Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703206Z 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] 2025-09-03T02:25:17.703553Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703656Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703746Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703814Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703867Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.703911Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.704095Z 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, 03 Sep 2025 02:25:17 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:54110, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.704255Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54110, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.704687Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54110, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.704934Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.705087Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.705138Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.705315Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.705607Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.705687Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50798) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.705401Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.705554Z  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] 2025-09-03T02:25:17.705987Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "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] 2025-09-03T02:25:17.706235Z  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] 2025-09-03T02:25:17.706579Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.706697Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.706930Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50814 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707007Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707232Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50814) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707296Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707473Z 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] 2025-09-03T02:25:17.707545Z 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] 2025-09-03T02:25:17.707586Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707655Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.707711Z 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] 2025-09-03T02:25:17.707756Z 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] 2025-09-03T02:25:17.707966Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.708459Z 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] 2025-09-03T02:25:17.708802Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.708871Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.708771Z 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] 2025-09-03T02:25:17.709114Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709157Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709185Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709200Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709215Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709233Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709264Z 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, 03 Sep 2025 02:25:17 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:54118, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709295Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54118, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709539Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54118, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709576Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.709594Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.709605Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.710083Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.710278Z  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] 2025-09-03T02:25:17.710302Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.710423Z  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] 2025-09-03T02:25:17.710769Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.710852Z 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] 2025-09-03T02:25:17.711010Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50814) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711102Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711198Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711299Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711494Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50826 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711544Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50826) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711561Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711681Z 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] 2025-09-03T02:25:17.711708Z 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] 2025-09-03T02:25:17.711724Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711741Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.711750Z 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] 2025-09-03T02:25:17.711759Z 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] 2025-09-03T02:25:17.711897Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713013Z 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] 2025-09-03T02:25:17.713045Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713078Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713325Z 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] 2025-09-03T02:25:17.713497Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713562Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713589Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713603Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713615Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713638Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713669Z 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, 03 Sep 2025 02:25:17 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:54126, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713700Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54126, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713943Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54126, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.713997Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.714018Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.714026Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.714503Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.714714Z  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] 2025-09-03T02:25:17.714738Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "x-custom": "unique", "connection": "close", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.714870Z  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] 2025-09-03T02:25:17.715162Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715202Z 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] 2025-09-03T02:25:17.715223Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50826) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715347Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715398Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715489Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715701Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50836 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715755Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50836) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715770Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715881Z 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] 2025-09-03T02:25:17.715909Z 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] 2025-09-03T02:25:17.715926Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715942Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.715951Z 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] 2025-09-03T02:25:17.715961Z 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] 2025-09-03T02:25:17.716260Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.716799Z 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] 2025-09-03T02:25:17.716824Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.716835Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717135Z 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] 2025-09-03T02:25:17.717341Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717385Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717414Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717431Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717446Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717465Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717671Z 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, 03 Sep 2025 02:25:17 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:54138, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717717Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54138, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717961Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54138, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.717997Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.718013Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.718021Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.718132Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.718172Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.718186Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50836) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.718460Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.718733Z  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] 2025-09-03T02:25:17.718760Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.718886Z  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] 2025-09-03T02:25:17.719186Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719249Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719354Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719576Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50840 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719643Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50840) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719662Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719776Z 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] 2025-09-03T02:25:17.719805Z 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] 2025-09-03T02:25:17.719821Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719839Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.719848Z 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] 2025-09-03T02:25:17.719858Z 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] 2025-09-03T02:25:17.719995Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720242Z 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] 2025-09-03T02:25:17.720265Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720277Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720699Z 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] 2025-09-03T02:25:17.720852Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720892Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720918Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720934Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720948Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.720965Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721173Z 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, 03 Sep 2025 02:25:17 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:54140, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721254Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54140, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721545Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54140, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721769Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721886Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.721984Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.722000Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.722137Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.722174Z 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] 2025-09-03T02:25:17.722194Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50840) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.722357Z  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] 2025-09-03T02:25:17.722381Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.722503Z  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] 2025-09-03T02:25:17.722746Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.722815Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.722933Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.722973Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50846 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723023Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50846) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723042Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723172Z 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] 2025-09-03T02:25:17.723199Z 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] 2025-09-03T02:25:17.723213Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723229Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723237Z 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] 2025-09-03T02:25:17.723247Z 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] 2025-09-03T02:25:17.723383Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723604Z 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] 2025-09-03T02:25:17.723625Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.723645Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724019Z 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] 2025-09-03T02:25:17.724203Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724251Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724281Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724297Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724312Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724329Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724360Z 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, 03 Sep 2025 02:25:17 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:54156, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724392Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54156, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724709Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54156, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724749Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.724786Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.724799Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.724872Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725097Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725093Z  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] 2025-09-03T02:25:17.725119Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "content-type": "text/plain", "content-length": "13", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725133Z 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] 2025-09-03T02:25:17.725152Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50846) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725273Z  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] 2025-09-03T02:25:17.725557Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725613Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725723Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725929Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50848 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.725992Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50848) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.726017Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.726145Z 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] 2025-09-03T02:25:17.726180Z 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] 2025-09-03T02:25:17.726197Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.726220Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.726235Z 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] 2025-09-03T02:25:17.726246Z 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] 2025-09-03T02:25:17.726535Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.727332Z 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] 2025-09-03T02:25:17.727366Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.727634Z 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] 2025-09-03T02:25:17.727379Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.727865Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.727956Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728018Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728047Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728116Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728147Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728210Z 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, 03 Sep 2025 02:25:17 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:54172, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728253Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54172, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728760Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54172, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.728808Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.729156Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.729239Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.729260Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.729404Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.729452Z 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] 2025-09-03T02:25:17.729481Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50848) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.729704Z  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] 2025-09-03T02:25:17.729738Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.729870Z  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] 2025-09-03T02:25:17.730148Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730257Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730476Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50862 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730562Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730644Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50862) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730670Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730872Z 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] 2025-09-03T02:25:17.730910Z 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] 2025-09-03T02:25:17.730933Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730957Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.730972Z 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] 2025-09-03T02:25:17.730983Z 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] 2025-09-03T02:25:17.731253Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.731618Z 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] 2025-09-03T02:25:17.731650Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.731947Z 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] 2025-09-03T02:25:17.732009Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732218Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732268Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732301Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732326Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732349Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732374Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732420Z 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, 03 Sep 2025 02:25:17 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:54176, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732452Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54176, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732707Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54176, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732755Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.732775Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.732791Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.733190Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.733414Z  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] 2025-09-03T02:25:17.733447Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.733578Z  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] 2025-09-03T02:25:17.733860Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.733912Z 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] 2025-09-03T02:25:17.733943Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50862) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734094Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734158Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734265Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734430Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50868 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734491Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50868) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734516Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734628Z 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] 2025-09-03T02:25:17.734662Z 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] 2025-09-03T02:25:17.734679Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734701Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.734716Z 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] 2025-09-03T02:25:17.734727Z 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] 2025-09-03T02:25:17.734991Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.735667Z 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] 2025-09-03T02:25:17.735700Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.735714Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.735962Z 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] 2025-09-03T02:25:17.736168Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736237Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736276Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736377Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736412Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736440Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736526Z 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, 03 Sep 2025 02:25:17 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:54178, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.736566Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54178, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.737136Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54178, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.737188Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.737452Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.737562Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.737586Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.737707Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.737758Z 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] 2025-09-03T02:25:17.737788Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50868) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738010Z  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] 2025-09-03T02:25:17.738042Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.738195Z  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] 2025-09-03T02:25:17.738505Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738568Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738685Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738853Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50870 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738918Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50870) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.738944Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.739075Z 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] 2025-09-03T02:25:17.739111Z 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] 2025-09-03T02:25:17.739128Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.739151Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.739167Z 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] 2025-09-03T02:25:17.739177Z 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] 2025-09-03T02:25:17.739327Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.739570Z 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] 2025-09-03T02:25:17.739602Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.739616Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740017Z 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] 2025-09-03T02:25:17.740233Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740293Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740330Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740355Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740378Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740415Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740576Z 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, 03 Sep 2025 02:25:17 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:54182, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740627Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54182, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740886Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54182, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740931Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.740961Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.740976Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.741100Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.741398Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.741650Z  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] 2025-09-03T02:25:17.741682Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.741804Z  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] 2025-09-03T02:25:17.742024Z 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] 2025-09-03T02:25:17.742076Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50870) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742213Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742281Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742396Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742552Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50874 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742611Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50874) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742636Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742753Z 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] 2025-09-03T02:25:17.742788Z 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] 2025-09-03T02:25:17.742804Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742827Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.742841Z 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] 2025-09-03T02:25:17.742852Z 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] 2025-09-03T02:25:17.742990Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743233Z 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] 2025-09-03T02:25:17.743264Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743277Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743615Z 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] 2025-09-03T02:25:17.743767Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743815Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743847Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743865Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743882Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.743900Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744047Z 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, 03 Sep 2025 02:25:17 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:54184, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744103Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54184, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744374Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54184, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744420Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744436Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.744444Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.744542Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744578Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744591Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50874) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.744856Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745145Z  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] 2025-09-03T02:25:17.745179Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.745289Z  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] 2025-09-03T02:25:17.745528Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745576Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745666Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745802Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50876 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745847Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50876) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745861Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.745962Z 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] 2025-09-03T02:25:17.745983Z 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] 2025-09-03T02:25:17.745996Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746011Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746020Z 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] 2025-09-03T02:25:17.746029Z 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] 2025-09-03T02:25:17.746176Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746393Z 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] 2025-09-03T02:25:17.746412Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746423Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746743Z 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] 2025-09-03T02:25:17.746887Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746926Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746953Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746968Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746982Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.746998Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747155Z 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, 03 Sep 2025 02:25:17 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:54194, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747194Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54194, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747446Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54194, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747479Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747495Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.747503Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.747600Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747635Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747648Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50876) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.747865Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748083Z  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] 2025-09-03T02:25:17.748107Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.748221Z  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] 2025-09-03T02:25:17.748470Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748521Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748616Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748759Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50878 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748809Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50878) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748825Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748931Z 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] 2025-09-03T02:25:17.748956Z 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] 2025-09-03T02:25:17.748971Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748985Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.748994Z 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] 2025-09-03T02:25:17.749005Z 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] 2025-09-03T02:25:17.749158Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749361Z 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] 2025-09-03T02:25:17.749378Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749398Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749732Z 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] 2025-09-03T02:25:17.749878Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749913Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749938Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749951Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749964Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.749981Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750143Z 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, 03 Sep 2025 02:25:17 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:54206, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750181Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54206, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750414Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54206, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750442Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750455Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.750461Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.750549Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750580Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750590Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50878) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750782Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.750969Z  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] 2025-09-03T02:25:17.750990Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.751119Z  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] 2025-09-03T02:25:17.751349Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751412Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751504Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751637Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50886 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751680Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50886) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751694Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751796Z 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] 2025-09-03T02:25:17.751818Z 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] 2025-09-03T02:25:17.751831Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751845Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.751852Z 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] 2025-09-03T02:25:17.751860Z 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] 2025-09-03T02:25:17.751987Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752217Z 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] 2025-09-03T02:25:17.752240Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752252Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752606Z 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] 2025-09-03T02:25:17.752770Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752810Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752835Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752850Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752863Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.752880Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753019Z 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, 03 Sep 2025 02:25:17 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:54210, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753080Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54210, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753319Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54210, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753352Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753366Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.753375Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.753483Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753519Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753532Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50886) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753740Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.753932Z  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] 2025-09-03T02:25:17.753955Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.754093Z  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] 2025-09-03T02:25:17.754310Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754360Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754465Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754623Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50900 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754673Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50900) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754690Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754795Z 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] 2025-09-03T02:25:17.754819Z 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] 2025-09-03T02:25:17.754832Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754847Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.754855Z 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] 2025-09-03T02:25:17.754864Z 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] 2025-09-03T02:25:17.754990Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755236Z 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] 2025-09-03T02:25:17.755258Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755270Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755614Z 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] 2025-09-03T02:25:17.755754Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755793Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755817Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755832Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755846Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.755862Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756004Z 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, 03 Sep 2025 02:25:17 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:54216, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756043Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54216, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756337Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54216, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756369Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756391Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.756402Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.756499Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756535Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756547Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50900) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756753Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.756947Z  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] 2025-09-03T02:25:17.756969Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.757099Z  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] 2025-09-03T02:25:17.757335Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757395Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757488Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757625Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50912 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757670Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50912) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757684Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757791Z 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] 2025-09-03T02:25:17.757816Z 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] 2025-09-03T02:25:17.757830Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757845Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.757853Z 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] 2025-09-03T02:25:17.757862Z 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] 2025-09-03T02:25:17.757997Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758235Z 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] 2025-09-03T02:25:17.758256Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758267Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758596Z 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] 2025-09-03T02:25:17.758737Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758778Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758805Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758821Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758835Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758852Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.758994Z 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, 03 Sep 2025 02:25:17 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:54228, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759032Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54228, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759287Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54228, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759320Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759335Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.759343Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.759453Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759489Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759500Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50912) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759698Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.759892Z  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] 2025-09-03T02:25:17.759915Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.760027Z  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] 2025-09-03T02:25:17.760263Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760316Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760417Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760573Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50928 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760622Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50928) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760639Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760750Z 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] 2025-09-03T02:25:17.760774Z 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] 2025-09-03T02:25:17.760789Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760804Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.760811Z 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] 2025-09-03T02:25:17.760820Z 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] 2025-09-03T02:25:17.760954Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761198Z 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] 2025-09-03T02:25:17.761218Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761230Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761560Z 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] 2025-09-03T02:25:17.761701Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761741Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761768Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761783Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761797Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.761871Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762012Z 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, 03 Sep 2025 02:25:17 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:54234, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762050Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54234, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762314Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54234, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762347Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762362Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.762370Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.762476Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762511Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762522Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50928) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762725Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.762925Z  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] 2025-09-03T02:25:17.762948Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.763077Z  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] 2025-09-03T02:25:17.763307Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763359Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763468Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763616Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50944 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763663Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50944) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763679Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763787Z 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] 2025-09-03T02:25:17.763811Z 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] 2025-09-03T02:25:17.763827Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763841Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.763848Z 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] 2025-09-03T02:25:17.763857Z 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] 2025-09-03T02:25:17.763985Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764216Z 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] 2025-09-03T02:25:17.764235Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764247Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764601Z 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] 2025-09-03T02:25:17.764743Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764782Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764808Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764823Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764836Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764852Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.764987Z 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, 03 Sep 2025 02:25:17 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:54242, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765023Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54242, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765284Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54242, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765320Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765336Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.765343Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.765453Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765488Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765501Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50944) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765705Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.765893Z  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] 2025-09-03T02:25:17.765916Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.766023Z  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] 2025-09-03T02:25:17.766269Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766318Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766423Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766566Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50952 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766615Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50952) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766631Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766740Z 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] 2025-09-03T02:25:17.766766Z 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] 2025-09-03T02:25:17.766782Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766796Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.766803Z 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] 2025-09-03T02:25:17.766814Z 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] 2025-09-03T02:25:17.766957Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767190Z 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] 2025-09-03T02:25:17.767212Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767224Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767560Z 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] 2025-09-03T02:25:17.767705Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767745Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767772Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767788Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767803Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767819Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767961Z 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, 03 Sep 2025 02:25:17 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:54250, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.767999Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54250, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768272Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54250, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768308Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768324Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.768333Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.768441Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768479Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768491Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:50952) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768697Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.768878Z  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] 2025-09-03T02:25:17.768899Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.769002Z  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] 2025-09-03T02:25:17.769243Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769290Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769376Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769514Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50966 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769558Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50966) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769571Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769668Z 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] 2025-09-03T02:25:17.769691Z 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] 2025-09-03T02:25:17.769704Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769718Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.769725Z 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] 2025-09-03T02:25:17.769733Z 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] 2025-09-03T02:25:17.769859Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.770621Z 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] 2025-09-03T02:25:17.770646Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.770657Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.770862Z 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] 2025-09-03T02:25:17.770978Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771012Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771037Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771052Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771098Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771115Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771142Z 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, 03 Sep 2025 02:25:17 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:54254, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771168Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54254, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771401Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54254, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771431Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771444Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.771452Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.771784Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.771953Z  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] 2025-09-03T02:25:17.771974Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.772099Z  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] 2025-09-03T02:25:17.772342Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772378Z 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] 2025-09-03T02:25:17.772406Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50966) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772522Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772571Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772655Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772781Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50976 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772822Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50976) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772835Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772931Z 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] 2025-09-03T02:25:17.772953Z 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] 2025-09-03T02:25:17.772967Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772980Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.772987Z 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] 2025-09-03T02:25:17.772996Z 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] 2025-09-03T02:25:17.773213Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.773790Z 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] 2025-09-03T02:25:17.773813Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.773824Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774023Z 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] 2025-09-03T02:25:17.774155Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774190Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774212Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774225Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774237Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774251Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774276Z 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, 03 Sep 2025 02:25:17 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:54264, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774301Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54264, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774527Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54264, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774556Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.774569Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.774576Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.774895Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775076Z  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] 2025-09-03T02:25:17.775097Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775207Z  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] 2025-09-03T02:25:17.775457Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775494Z 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] 2025-09-03T02:25:17.775514Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50976) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775634Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775684Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775775Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775911Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:50992 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775959Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:50992) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.775974Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.776121Z 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] 2025-09-03T02:25:17.776147Z 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] 2025-09-03T02:25:17.776162Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.776176Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.776184Z 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] 2025-09-03T02:25:17.776193Z 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] 2025-09-03T02:25:17.776444Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.776854Z 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] 2025-09-03T02:25:17.776879Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.776890Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777121Z 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] 2025-09-03T02:25:17.777235Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777272Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777297Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777312Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777326Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777340Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777366Z 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, 03 Sep 2025 02:25:17 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:54266, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777403Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54266, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777636Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54266, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777670Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.777684Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.777692Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.778030Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.778222Z  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] 2025-09-03T02:25:17.778243Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.778351Z  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] 2025-09-03T02:25:17.778618Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.778657Z 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] 2025-09-03T02:25:17.778676Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:50992) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.778795Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.778903Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.778998Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779152Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51004 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779197Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51004) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779210Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779304Z 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] 2025-09-03T02:25:17.779325Z 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] 2025-09-03T02:25:17.779343Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779358Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779365Z 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] 2025-09-03T02:25:17.779373Z 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] 2025-09-03T02:25:17.779502Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779691Z 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] 2025-09-03T02:25:17.779709Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.779719Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780006Z 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] 2025-09-03T02:25:17.780150Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780189Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780212Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780224Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780237Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780250Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780376Z 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, 03 Sep 2025 02:25:17 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:54278, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780419Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54278, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780624Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54278, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780652Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780665Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.780672Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.780758Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780787Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780797Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51004) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.780983Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781179Z  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] 2025-09-03T02:25:17.781199Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.781299Z  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] 2025-09-03T02:25:17.781515Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781559Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781646Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781772Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51014 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781812Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51014) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781824Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781917Z 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] 2025-09-03T02:25:17.781937Z 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] 2025-09-03T02:25:17.781949Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781962Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.781969Z 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] 2025-09-03T02:25:17.781978Z 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] 2025-09-03T02:25:17.782188Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782555Z 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] 2025-09-03T02:25:17.782576Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782586Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782777Z 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] 2025-09-03T02:25:17.782887Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782919Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782940Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782953Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782965Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.782979Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783003Z 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, 03 Sep 2025 02:25:17 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:54292, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783026Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54292, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783267Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54292, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783302Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783317Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.783327Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.783670Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.783832Z  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] 2025-09-03T02:25:17.783853Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.783949Z  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] 2025-09-03T02:25:17.784200Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784235Z 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] 2025-09-03T02:25:17.784252Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51014) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784362Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784421Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784506Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784635Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51016 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784679Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51016) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784693Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784792Z 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] 2025-09-03T02:25:17.784815Z 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] 2025-09-03T02:25:17.784828Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784842Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.784849Z 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] 2025-09-03T02:25:17.784857Z 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] 2025-09-03T02:25:17.784982Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.785859Z 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] 2025-09-03T02:25:17.785883Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.785894Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786119Z 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] 2025-09-03T02:25:17.786239Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786287Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786321Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786343Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786368Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786400Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786434Z 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, 03 Sep 2025 02:25:17 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:54302, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786467Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54302, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786684Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54302, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786720Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.786734Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.786750Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.787017Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.787154Z  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] 2025-09-03T02:25:17.787326Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.787451Z  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] 2025-09-03T02:25:17.787741Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.787780Z 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] 2025-09-03T02:25:17.787800Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51016) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.787920Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.787969Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788115Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51032 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788164Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51032) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788179Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788281Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788461Z 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] 2025-09-03T02:25:17.788487Z 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] 2025-09-03T02:25:17.788501Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788516Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.788524Z 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] 2025-09-03T02:25:17.788534Z 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] 2025-09-03T02:25:17.788756Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789204Z 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] 2025-09-03T02:25:17.789229Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789240Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789459Z 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] 2025-09-03T02:25:17.789573Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789608Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789630Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789648Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789661Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789675Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789701Z 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, 03 Sep 2025 02:25:17 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:54308, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789725Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54308, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789944Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54308, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789970Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.789982Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.789989Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.790338Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.790526Z  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] 2025-09-03T02:25:17.790548Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.790659Z  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] 2025-09-03T02:25:17.790937Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.790975Z 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] 2025-09-03T02:25:17.790996Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51032) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791135Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791187Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791283Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791436Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51048 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791483Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51048) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791501Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791610Z 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] 2025-09-03T02:25:17.791635Z 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] 2025-09-03T02:25:17.791651Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791665Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.791673Z 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] 2025-09-03T02:25:17.791682Z 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] 2025-09-03T02:25:17.791819Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792040Z 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] 2025-09-03T02:25:17.792091Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792104Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792448Z 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] 2025-09-03T02:25:17.792590Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792631Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792659Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792673Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792688Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792704Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792845Z 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, 03 Sep 2025 02:25:17 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:54310, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.792885Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54310, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793404Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54310, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793444Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793460Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.793468Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.793567Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793603Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793616Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51048) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793790Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.793987Z  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] 2025-09-03T02:25:17.794010Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.794140Z  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] 2025-09-03T02:25:17.794375Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794437Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794532Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794675Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51050 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794722Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51050) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794738Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794843Z 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] 2025-09-03T02:25:17.794867Z 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] 2025-09-03T02:25:17.794883Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794897Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.794905Z 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] 2025-09-03T02:25:17.794914Z 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] 2025-09-03T02:25:17.795047Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795296Z 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] 2025-09-03T02:25:17.795318Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795330Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795691Z 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] 2025-09-03T02:25:17.795837Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795877Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795905Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795921Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795936Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.795953Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796121Z 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, 03 Sep 2025 02:25:17 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:54316, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796165Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54316, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796470Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54316, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796508Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796524Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.796533Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.796627Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796664Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796676Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51050) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.796890Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.797105Z  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] 2025-09-03T02:25:17.797127Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.797392Z  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] 2025-09-03T02:25:17.797611Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.797666Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.797767Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.797932Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51062 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.797984Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51062) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798000Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798136Z 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] 2025-09-03T02:25:17.798164Z 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] 2025-09-03T02:25:17.798181Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798199Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798208Z 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] 2025-09-03T02:25:17.798220Z 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] 2025-09-03T02:25:17.798362Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798603Z 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] 2025-09-03T02:25:17.798625Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798636Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.798981Z 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] 2025-09-03T02:25:17.799155Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799194Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799220Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799236Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799250Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799266Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799415Z 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, 03 Sep 2025 02:25:17 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:54324, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799453Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54324, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799696Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54324, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799728Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799744Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.799753Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.799851Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799888Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.799900Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51062) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.800132Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.800322Z  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] 2025-09-03T02:25:17.800345Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.800467Z  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] 2025-09-03T02:25:17.800695Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.800746Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.800842Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801002Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51064 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801049Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51064) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801085Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801191Z 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] 2025-09-03T02:25:17.801216Z 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] 2025-09-03T02:25:17.801231Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801246Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801255Z 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] 2025-09-03T02:25:17.801264Z 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] 2025-09-03T02:25:17.801403Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801621Z 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] 2025-09-03T02:25:17.801640Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801651Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.801981Z 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] 2025-09-03T02:25:17.802145Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802185Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802211Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802224Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802238Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802254Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802405Z 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, 03 Sep 2025 02:25:17 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:54336, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802442Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54336, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802686Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54336, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802719Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802734Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.802743Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.802840Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802874Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.802885Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51064) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.803114Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.803310Z  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] 2025-09-03T02:25:17.803333Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.803457Z  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] 2025-09-03T02:25:17.803706Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.803762Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.803869Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804019Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51070 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804090Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51070) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804108Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804218Z 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] 2025-09-03T02:25:17.804243Z 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] 2025-09-03T02:25:17.804258Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804273Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804281Z 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] 2025-09-03T02:25:17.804290Z 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] 2025-09-03T02:25:17.804441Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804673Z 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] 2025-09-03T02:25:17.804694Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.804705Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805051Z 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] 2025-09-03T02:25:17.805220Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805261Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805290Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805306Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805321Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805338Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805504Z 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, 03 Sep 2025 02:25:17 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:54348, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805545Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54348, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805796Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54348, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805831Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805846Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.805857Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.805957Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.805992Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.806004Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51070) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.806226Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.806436Z  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] 2025-09-03T02:25:17.806461Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.806581Z  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] 2025-09-03T02:25:17.806813Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.806871Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.806982Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807188Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51086 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807245Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51086) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807262Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807378Z 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] 2025-09-03T02:25:17.807417Z 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] 2025-09-03T02:25:17.807435Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807452Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807462Z 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] 2025-09-03T02:25:17.807472Z 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] 2025-09-03T02:25:17.807616Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807855Z 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] 2025-09-03T02:25:17.807878Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.807889Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808268Z 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] 2025-09-03T02:25:17.808430Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808472Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808501Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808519Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808535Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808554Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808707Z 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, 03 Sep 2025 02:25:17 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:54360, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.808748Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54360, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809011Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54360, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809049Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809088Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.809097Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.809198Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809238Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809251Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51086) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809492Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.809696Z  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] 2025-09-03T02:25:17.809720Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.809835Z  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] 2025-09-03T02:25:17.810075Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810135Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810237Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810417Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51098 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810467Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51098) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810484Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810601Z 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] 2025-09-03T02:25:17.810627Z 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] 2025-09-03T02:25:17.810645Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810661Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.810670Z 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] 2025-09-03T02:25:17.810680Z 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] 2025-09-03T02:25:17.810820Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811047Z 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] 2025-09-03T02:25:17.811089Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811101Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811469Z 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] 2025-09-03T02:25:17.811616Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811661Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811690Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811705Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811719Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811739Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811888Z 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, 03 Sep 2025 02:25:17 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:54376, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.811929Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54376, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812198Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54376, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812238Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812256Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.812266Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.812370Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812422Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812435Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51098) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812647Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812850Z  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] 2025-09-03T02:25:17.812874Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "x-custom": "unique", "content-length": "13", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.812985Z  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] 2025-09-03T02:25:17.813258Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813316Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813434Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813607Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51104 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813663Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51104) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813681Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813800Z 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] 2025-09-03T02:25:17.813826Z 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] 2025-09-03T02:25:17.813844Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813861Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.813870Z 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] 2025-09-03T02:25:17.813881Z 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] 2025-09-03T02:25:17.814028Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814286Z 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] 2025-09-03T02:25:17.814309Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814321Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814689Z 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] 2025-09-03T02:25:17.814839Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814881Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814911Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814926Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814940Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.814958Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815129Z 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, 03 Sep 2025 02:25:17 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:54388, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815276Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54388, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815555Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54388, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815590Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815604Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.815612Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.815715Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815753Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815767Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51104) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.815990Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.816217Z  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] 2025-09-03T02:25:17.816242Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.816398Z  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] 2025-09-03T02:25:17.816650Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.816705Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.816808Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.816958Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51118 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817010Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51118) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817028Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817158Z 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] 2025-09-03T02:25:17.817195Z 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] 2025-09-03T02:25:17.817213Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817230Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817238Z 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] 2025-09-03T02:25:17.817253Z 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] 2025-09-03T02:25:17.817411Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817712Z 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] 2025-09-03T02:25:17.817751Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.817766Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818136Z 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] 2025-09-03T02:25:17.818297Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818347Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818378Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818397Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818414Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818433Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818584Z 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, 03 Sep 2025 02:25:17 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:54398, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818624Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54398, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818908Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54398, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818944Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.818962Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.818971Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.819100Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.819143Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.819157Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51118) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.819377Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.819587Z  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] 2025-09-03T02:25:17.819612Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.819742Z  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] 2025-09-03T02:25:17.819992Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820046Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820173Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820287Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51128 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820333Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51128) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820350Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820583Z 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] 2025-09-03T02:25:17.820612Z 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] 2025-09-03T02:25:17.820644Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820662Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.820671Z 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] 2025-09-03T02:25:17.820682Z 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] 2025-09-03T02:25:17.820920Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821344Z 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] 2025-09-03T02:25:17.821369Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821380Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821615Z 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] 2025-09-03T02:25:17.821756Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821796Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821824Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821839Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821853Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821871Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821903Z 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, 03 Sep 2025 02:25:17 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:54404, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.821933Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54404, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.822195Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54404, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.822232Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.822247Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.822255Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.822618Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.822816Z  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] 2025-09-03T02:25:17.822839Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.822954Z  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] 2025-09-03T02:25:17.823244Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823285Z 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] 2025-09-03T02:25:17.823307Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51128) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823433Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823485Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823580Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823724Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51130 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823769Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51130) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823783Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823892Z 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] 2025-09-03T02:25:17.823918Z 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] 2025-09-03T02:25:17.823933Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823949Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.823958Z 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] 2025-09-03T02:25:17.823968Z 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] 2025-09-03T02:25:17.824125Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824340Z 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] 2025-09-03T02:25:17.824359Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824370Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824714Z 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] 2025-09-03T02:25:17.824856Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824894Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824920Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824934Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824949Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.824965Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825133Z 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, 03 Sep 2025 02:25:17 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:54408, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825176Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54408, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825417Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54408, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825449Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825463Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.825470Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.825565Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825600Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825611Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51130) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.825833Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826030Z  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] 2025-09-03T02:25:17.826073Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.826189Z  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] 2025-09-03T02:25:17.826428Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826479Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826576Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826733Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51142 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826784Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51142) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826801Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826909Z 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] 2025-09-03T02:25:17.826935Z 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] 2025-09-03T02:25:17.826951Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826967Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.826978Z 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] 2025-09-03T02:25:17.826987Z 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] 2025-09-03T02:25:17.827138Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.827382Z 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] 2025-09-03T02:25:17.827405Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.827418Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.827781Z 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] 2025-09-03T02:25:17.827929Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.827971Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828001Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828019Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828036Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828073Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828232Z 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, 03 Sep 2025 02:25:17 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:54412, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828274Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54412, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828539Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54412, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828577Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828593Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.828600Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.828712Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828746Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828757Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51142) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.828953Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829166Z  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] 2025-09-03T02:25:17.829188Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.829294Z  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] 2025-09-03T02:25:17.829514Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829562Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829661Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829811Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51156 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829856Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51156) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829869Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.829966Z 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] 2025-09-03T02:25:17.829990Z 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] 2025-09-03T02:25:17.830005Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830019Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830026Z 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] 2025-09-03T02:25:17.830037Z 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] 2025-09-03T02:25:17.830192Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830420Z 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] 2025-09-03T02:25:17.830441Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830454Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830800Z 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] 2025-09-03T02:25:17.830943Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.830981Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831006Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831020Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831034Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831051Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831218Z 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, 03 Sep 2025 02:25:17 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:54416, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831256Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54416, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831508Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54416, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831544Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831559Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.831567Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.831675Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831713Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831726Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51156) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.831933Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832142Z  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] 2025-09-03T02:25:17.832166Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.832278Z  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] 2025-09-03T02:25:17.832519Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832574Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832686Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832836Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51158 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832884Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51158) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.832898Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833010Z 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] 2025-09-03T02:25:17.833036Z 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] 2025-09-03T02:25:17.833051Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833087Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833096Z 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] 2025-09-03T02:25:17.833106Z 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] 2025-09-03T02:25:17.833246Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833475Z 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] 2025-09-03T02:25:17.833498Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833510Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.833848Z 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] 2025-09-03T02:25:17.833990Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834026Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834050Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834082Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834095Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834110Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834242Z 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, 03 Sep 2025 02:25:17 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:54428, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834276Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54428, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834502Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54428, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834531Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834544Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.834551Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.834649Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834681Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834692Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51158) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.834883Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835078Z  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] 2025-09-03T02:25:17.835101Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.835206Z  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] 2025-09-03T02:25:17.835422Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835467Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835664Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835808Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51172 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835854Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51172) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835869Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.835967Z 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] 2025-09-03T02:25:17.835989Z 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] 2025-09-03T02:25:17.836001Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836014Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836021Z 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] 2025-09-03T02:25:17.836030Z 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] 2025-09-03T02:25:17.836171Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836419Z 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] 2025-09-03T02:25:17.836440Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836451Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836792Z 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] 2025-09-03T02:25:17.836935Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836973Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.836998Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837014Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837029Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837044Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837206Z 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, 03 Sep 2025 02:25:17 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:54432, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837245Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54432, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837496Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54432, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837530Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837545Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.837555Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.837662Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837698Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837711Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51172) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.837915Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838132Z  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] 2025-09-03T02:25:17.838153Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.838260Z  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] 2025-09-03T02:25:17.838487Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838538Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838644Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838787Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51186 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838836Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51186) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838851Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.838955Z 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] 2025-09-03T02:25:17.838979Z 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] 2025-09-03T02:25:17.838994Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839008Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839016Z 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] 2025-09-03T02:25:17.839025Z 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] 2025-09-03T02:25:17.839172Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839375Z 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] 2025-09-03T02:25:17.839392Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839403Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839717Z 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] 2025-09-03T02:25:17.839847Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839883Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839907Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839920Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839933Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.839947Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840092Z 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, 03 Sep 2025 02:25:17 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:54434, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840127Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54434, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840349Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54434, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840375Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840389Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.840396Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.840485Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840518Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840528Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51186) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840730Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.840907Z  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] 2025-09-03T02:25:17.840928Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.841027Z  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] 2025-09-03T02:25:17.841282Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841333Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841425Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841569Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51200 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841619Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51200) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841646Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841756Z 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] 2025-09-03T02:25:17.841779Z 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] 2025-09-03T02:25:17.841792Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841805Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.841812Z 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] 2025-09-03T02:25:17.841820Z 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] 2025-09-03T02:25:17.842037Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.842539Z 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] 2025-09-03T02:25:17.842563Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.842574Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.842813Z 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] 2025-09-03T02:25:17.842942Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.842982Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843010Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843028Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843044Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843086Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843119Z 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, 03 Sep 2025 02:25:17 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:54440, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843150Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54440, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843416Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54440, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843452Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.843469Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.843478Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.843849Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844038Z  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] 2025-09-03T02:25:17.844081Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.844201Z  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] 2025-09-03T02:25:17.844466Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844506Z 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] 2025-09-03T02:25:17.844528Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51200) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844665Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844723Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844824Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.844976Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51210 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845027Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51210) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845044Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845167Z 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] 2025-09-03T02:25:17.845194Z 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] 2025-09-03T02:25:17.845208Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845221Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845229Z 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] 2025-09-03T02:25:17.845237Z 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] 2025-09-03T02:25:17.845361Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845563Z 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] 2025-09-03T02:25:17.845580Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845590Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.845908Z 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] 2025-09-03T02:25:17.846042Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846094Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846121Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846136Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846149Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846164Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846302Z 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, 03 Sep 2025 02:25:17 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:54448, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846338Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54448, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846562Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54448, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846591Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846604Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.846612Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.846712Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846745Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846755Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51210) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.846942Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847149Z  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] 2025-09-03T02:25:17.847172Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.847272Z  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] 2025-09-03T02:25:17.847460Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847504Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847584Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847716Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51212 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847758Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51212) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847771Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847860Z 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] 2025-09-03T02:25:17.847881Z 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] 2025-09-03T02:25:17.847893Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847905Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.847915Z 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] 2025-09-03T02:25:17.847923Z 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] 2025-09-03T02:25:17.848174Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.848613Z 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] 2025-09-03T02:25:17.848643Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.848655Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.848862Z 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] 2025-09-03T02:25:17.848978Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849013Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849036Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849050Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849082Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849097Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849125Z 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, 03 Sep 2025 02:25:17 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:54452, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849151Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54452, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849359Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54452, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849389Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849403Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.849411Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.849752Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.849921Z  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] 2025-09-03T02:25:17.849942Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.850043Z  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] 2025-09-03T02:25:17.850309Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850345Z 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] 2025-09-03T02:25:17.850364Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51212) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850481Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850530Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850673Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51218 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850722Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51218) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850738Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.850847Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.851032Z 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] 2025-09-03T02:25:17.851098Z 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] 2025-09-03T02:25:17.851118Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.851134Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.851143Z 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] 2025-09-03T02:25:17.851154Z 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] 2025-09-03T02:25:17.851392Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.851865Z 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] 2025-09-03T02:25:17.851891Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.851903Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852155Z 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] 2025-09-03T02:25:17.852279Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852315Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852339Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852353Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852366Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852381Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852411Z 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, 03 Sep 2025 02:25:17 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:54456, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852438Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54456, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852683Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54456, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852715Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.852729Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.852737Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.853095Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.853270Z  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] 2025-09-03T02:25:17.853292Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.853399Z  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] 2025-09-03T02:25:17.853644Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.853680Z 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] 2025-09-03T02:25:17.853698Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51218) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.853811Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.853860Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.853949Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854099Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51232 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854146Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51232) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854161Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854265Z 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] 2025-09-03T02:25:17.854288Z 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] 2025-09-03T02:25:17.854302Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854316Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.854324Z 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] 2025-09-03T02:25:17.854333Z 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] 2025-09-03T02:25:17.854553Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855087Z 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] 2025-09-03T02:25:17.855112Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855123Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855335Z 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] 2025-09-03T02:25:17.855455Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855491Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855515Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855529Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855543Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855559Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855586Z 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, 03 Sep 2025 02:25:17 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:54472, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855612Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54472, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855861Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54472, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855893Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.855906Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.855914Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.856277Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.856484Z  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] 2025-09-03T02:25:17.856506Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.856612Z  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] 2025-09-03T02:25:17.856881Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.856920Z 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] 2025-09-03T02:25:17.856941Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51232) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857084Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857134Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857258Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51234 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857300Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51234) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857315Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857411Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857569Z 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] 2025-09-03T02:25:17.857593Z 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] 2025-09-03T02:25:17.857606Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857620Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.857627Z 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] 2025-09-03T02:25:17.857645Z 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] 2025-09-03T02:25:17.857851Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858283Z 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] 2025-09-03T02:25:17.858308Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858319Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858534Z 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] 2025-09-03T02:25:17.858664Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858700Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858726Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858740Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858754Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858769Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858793Z 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, 03 Sep 2025 02:25:17 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:54480, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.858820Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54480, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.859077Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54480, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.859111Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.859126Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.859133Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.859476Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.859665Z  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] 2025-09-03T02:25:17.859687Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.859795Z  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] 2025-09-03T02:25:17.860047Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860115Z 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] 2025-09-03T02:25:17.860137Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51234) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860268Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860321Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860417Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860552Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51238 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860595Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51238) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860609Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860721Z 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] 2025-09-03T02:25:17.860746Z 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] 2025-09-03T02:25:17.860760Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860774Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.860782Z 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] 2025-09-03T02:25:17.860792Z 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] 2025-09-03T02:25:17.860926Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861157Z 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] 2025-09-03T02:25:17.861176Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861187Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861507Z 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] 2025-09-03T02:25:17.861665Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861705Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861730Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861744Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861758Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861773Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861910Z 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, 03 Sep 2025 02:25:17 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:54496, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.861946Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54496, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862202Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54496, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862241Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862256Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.862265Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.862361Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862394Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862405Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51238) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862616Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.862827Z  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] 2025-09-03T02:25:17.862850Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "content-length": "13", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.862964Z  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] 2025-09-03T02:25:17.863227Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863284Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863392Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863553Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51242 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863604Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51242) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863621Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863745Z 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] 2025-09-03T02:25:17.863779Z 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] 2025-09-03T02:25:17.863794Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863809Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.863824Z 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] 2025-09-03T02:25:17.863833Z 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] 2025-09-03T02:25:17.864072Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.864659Z 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] 2025-09-03T02:25:17.864685Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.864698Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.864930Z 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] 2025-09-03T02:25:17.865048Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865113Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865137Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865152Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865166Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865182Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865209Z 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, 03 Sep 2025 02:25:17 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:54506, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865234Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54506, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865469Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54506, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865505Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.865519Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.865527Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.865885Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866077Z  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] 2025-09-03T02:25:17.866100Z 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, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.866210Z  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] 2025-09-03T02:25:17.866479Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866522Z 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] 2025-09-03T02:25:17.866545Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51242) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866690Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866746Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866841Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.866977Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51250 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867024Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51250) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867038Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867165Z 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] 2025-09-03T02:25:17.867190Z 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] 2025-09-03T02:25:17.867206Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867223Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867232Z 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] 2025-09-03T02:25:17.867242Z 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] 2025-09-03T02:25:17.867378Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867617Z 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] 2025-09-03T02:25:17.867650Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.867663Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868015Z 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] 2025-09-03T02:25:17.868190Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868233Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868262Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868281Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868297Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868316Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868469Z 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, 03 Sep 2025 02:25:17 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:54510, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868508Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54510, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868784Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54510, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868826Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868844Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.868853Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.868956Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.868993Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.869007Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51250) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.869237Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.869445Z  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] 2025-09-03T02:25:17.869469Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.869588Z  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] 2025-09-03T02:25:17.869823Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.869877Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.869972Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870140Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51260 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870192Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51260) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870209Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870324Z 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] 2025-09-03T02:25:17.870353Z 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] 2025-09-03T02:25:17.870369Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870384Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870394Z 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] 2025-09-03T02:25:17.870404Z 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] 2025-09-03T02:25:17.870575Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870826Z 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] 2025-09-03T02:25:17.870851Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.870864Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871279Z 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] 2025-09-03T02:25:17.871431Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871471Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871498Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871515Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871532Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871551Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871714Z 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, 03 Sep 2025 02:25:17 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:54516, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.871756Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54516, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872023Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54516, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872080Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872101Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.872113Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.872218Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872258Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872272Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51260) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872493Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.872712Z  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] 2025-09-03T02:25:17.872736Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.872854Z  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] 2025-09-03T02:25:17.873103Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873163Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873265Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873442Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51276 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873493Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51276) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873510Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873627Z 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] 2025-09-03T02:25:17.873666Z 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] 2025-09-03T02:25:17.873683Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873700Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.873709Z 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] 2025-09-03T02:25:17.873719Z 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] 2025-09-03T02:25:17.873862Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874128Z 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] 2025-09-03T02:25:17.874153Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874166Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874519Z 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] 2025-09-03T02:25:17.874678Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874722Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874751Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874771Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874787Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874807Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874959Z 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, 03 Sep 2025 02:25:17 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:54528, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.874999Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54528, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875294Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54528, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875332Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875348Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.875357Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.875462Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875505Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875519Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51276) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875761Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.875969Z  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] 2025-09-03T02:25:17.875993Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876130Z  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] 2025-09-03T02:25:17.876402Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876458Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876564Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876729Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51290 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876783Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51290) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876802Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876923Z 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] 2025-09-03T02:25:17.876951Z 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] 2025-09-03T02:25:17.876967Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876983Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.876992Z 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] 2025-09-03T02:25:17.877002Z 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] 2025-09-03T02:25:17.877162Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877374Z 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] 2025-09-03T02:25:17.877394Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877405Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877719Z 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] 2025-09-03T02:25:17.877851Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877885Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877910Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877924Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877937Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.877953Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878101Z 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, 03 Sep 2025 02:25:17 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:54544, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878137Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54544, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878365Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54544, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878392Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878406Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.878413Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.878502Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878533Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878543Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51290) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878743Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.878924Z  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] 2025-09-03T02:25:17.878944Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.879046Z  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] 2025-09-03T02:25:17.879300Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879357Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879450Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879608Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51298 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879669Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51298) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879688Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879802Z 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] 2025-09-03T02:25:17.879836Z 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] 2025-09-03T02:25:17.879852Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879867Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.879876Z 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] 2025-09-03T02:25:17.879885Z 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] 2025-09-03T02:25:17.880019Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880257Z 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] 2025-09-03T02:25:17.880281Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880292Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880602Z 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] 2025-09-03T02:25:17.880753Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880796Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880822Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880836Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880850Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880865Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.880996Z 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, 03 Sep 2025 02:25:17 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:54546, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881030Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54546, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881268Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54546, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881298Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881314Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.881323Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.881423Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881459Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881470Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51298) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881671Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.881867Z  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] 2025-09-03T02:25:17.881889Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.881993Z  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] 2025-09-03T02:25:17.882224Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882272Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882362Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882527Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51306 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882580Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51306) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882596Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882726Z 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] 2025-09-03T02:25:17.882755Z 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] 2025-09-03T02:25:17.882771Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882786Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.882795Z 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] 2025-09-03T02:25:17.882805Z 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] 2025-09-03T02:25:17.882948Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883204Z 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] 2025-09-03T02:25:17.883227Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883238Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883583Z 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] 2025-09-03T02:25:17.883742Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883782Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883811Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883829Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883845Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.883867Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884017Z 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, 03 Sep 2025 02:25:17 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:54550, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884083Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54550, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884344Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54550, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884377Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884394Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.884404Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.884502Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884537Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884549Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51306) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884767Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.884961Z  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] 2025-09-03T02:25:17.884984Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.885114Z  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] 2025-09-03T02:25:17.885328Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885379Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885477Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885649Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51320 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885700Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51320) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885716Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885826Z 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] 2025-09-03T02:25:17.885852Z 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] 2025-09-03T02:25:17.885868Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885883Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.885891Z 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] 2025-09-03T02:25:17.885902Z 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] 2025-09-03T02:25:17.886035Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886289Z 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] 2025-09-03T02:25:17.886310Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886321Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886689Z 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] 2025-09-03T02:25:17.886830Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886868Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886893Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886909Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886923Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.886940Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887098Z 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, 03 Sep 2025 02:25:17 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:54558, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887140Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54558, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887398Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54558, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887430Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887447Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.887455Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.887554Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887588Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887601Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51320) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.887816Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888003Z  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] 2025-09-03T02:25:17.888025Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "content-length": "13", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.888158Z  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] 2025-09-03T02:25:17.888366Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888419Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888517Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888680Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51326 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888728Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51326) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888743Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888850Z 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] 2025-09-03T02:25:17.888875Z 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] 2025-09-03T02:25:17.888890Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888905Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.888913Z 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] 2025-09-03T02:25:17.888925Z 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] 2025-09-03T02:25:17.889078Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889314Z 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] 2025-09-03T02:25:17.889332Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889344Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889731Z 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] 2025-09-03T02:25:17.889875Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889914Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889942Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889959Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889974Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.889991Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890163Z 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, 03 Sep 2025 02:25:17 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:54568, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890206Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54568, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890464Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54568, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890501Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890517Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.890526Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.890644Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890685Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890699Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51326) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.890920Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891145Z  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] 2025-09-03T02:25:17.891167Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.891281Z  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] 2025-09-03T02:25:17.891513Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891571Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891686Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891840Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51330 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891889Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51330) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.891905Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892017Z 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] 2025-09-03T02:25:17.892044Z 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] 2025-09-03T02:25:17.892079Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892098Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892107Z 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] 2025-09-03T02:25:17.892117Z 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] 2025-09-03T02:25:17.892262Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892498Z 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] 2025-09-03T02:25:17.892520Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892532Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.892893Z 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] 2025-09-03T02:25:17.893044Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893107Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893137Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893156Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893172Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893190Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893342Z 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, 03 Sep 2025 02:25:17 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:54580, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893382Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54580, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893655Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54580, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893694Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893712Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.893722Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.893825Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893864Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.893877Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51330) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.894114Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.894315Z  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] 2025-09-03T02:25:17.894339Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "x-custom": "unique", "connection": "close", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.894453Z  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] 2025-09-03T02:25:17.894691Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.894748Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.894854Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895026Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51336 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895097Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51336) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895116Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895240Z 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] 2025-09-03T02:25:17.895267Z 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] 2025-09-03T02:25:17.895283Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895298Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895307Z 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] 2025-09-03T02:25:17.895317Z 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] 2025-09-03T02:25:17.895460Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895713Z 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] 2025-09-03T02:25:17.895736Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.895748Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896133Z 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] 2025-09-03T02:25:17.896316Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896358Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896388Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896407Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896424Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896442Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896594Z 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, 03 Sep 2025 02:25:17 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:54584, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896644Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54584, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896907Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54584, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896944Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.896962Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.896973Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.897095Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.897135Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.897149Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51336) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.897370Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.897573Z  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] 2025-09-03T02:25:17.897597Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.897724Z  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] 2025-09-03T02:25:17.897952Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898009Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898135Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898251Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51346 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898499Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51346) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898521Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898644Z 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] 2025-09-03T02:25:17.898672Z 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] 2025-09-03T02:25:17.898687Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898702Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.898710Z 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] 2025-09-03T02:25:17.898721Z 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] 2025-09-03T02:25:17.898864Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899117Z 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] 2025-09-03T02:25:17.899140Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899153Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899536Z 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] 2025-09-03T02:25:17.899705Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899744Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899771Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899786Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899800Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899816Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899959Z 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, 03 Sep 2025 02:25:17 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:54600, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.899996Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54600, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900245Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54600, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900279Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900293Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.900300Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.900398Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900432Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900444Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51346) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900660Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900856Z  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] 2025-09-03T02:25:17.900880Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.900990Z  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] 2025-09-03T02:25:17.901248Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901300Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901395Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901543Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51358 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901593Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51358) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901609Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901732Z 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] 2025-09-03T02:25:17.901758Z 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] 2025-09-03T02:25:17.901773Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901788Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.901796Z 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] 2025-09-03T02:25:17.901804Z 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] 2025-09-03T02:25:17.901931Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902168Z 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] 2025-09-03T02:25:17.902187Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902198Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902506Z 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] 2025-09-03T02:25:17.902647Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902683Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902707Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902721Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902734Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902750Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902896Z 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, 03 Sep 2025 02:25:17 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:54604, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.902933Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54604, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903191Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54604, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903224Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903237Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.903245Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.903340Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903375Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903389Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51358) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903601Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.903807Z  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] 2025-09-03T02:25:17.903830Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.903935Z  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] 2025-09-03T02:25:17.904192Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904248Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904352Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904509Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51370 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904560Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51370) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904577Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904699Z 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] 2025-09-03T02:25:17.904727Z 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] 2025-09-03T02:25:17.904744Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904758Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.904766Z 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] 2025-09-03T02:25:17.904774Z 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] 2025-09-03T02:25:17.904997Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905470Z 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] 2025-09-03T02:25:17.905494Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905504Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905757Z 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] 2025-09-03T02:25:17.905911Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905951Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905978Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.905993Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906005Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906019Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906045Z 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, 03 Sep 2025 02:25:17 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:54614, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906094Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54614, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906336Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54614, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906371Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906392Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.906402Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.906799Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.906990Z  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] 2025-09-03T02:25:17.907013Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.907146Z  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] 2025-09-03T02:25:17.907423Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907465Z 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] 2025-09-03T02:25:17.907490Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51370) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907622Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907695Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907796Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907943Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51372 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.907995Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51372) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908012Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908153Z 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] 2025-09-03T02:25:17.908181Z 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] 2025-09-03T02:25:17.908196Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908212Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908223Z 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] 2025-09-03T02:25:17.908234Z 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] 2025-09-03T02:25:17.908371Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908593Z 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] 2025-09-03T02:25:17.908614Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.908626Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909000Z 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] 2025-09-03T02:25:17.909166Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909208Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909237Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909255Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909271Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909288Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909439Z 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, 03 Sep 2025 02:25:17 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:54616, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909481Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54616, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909751Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54616, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909790Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909806Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.909815Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.909920Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909957Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.909971Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51372) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.910201Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.910411Z  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] 2025-09-03T02:25:17.910443Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.910561Z  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] 2025-09-03T02:25:17.910802Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.910866Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911006Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51388 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911077Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51388) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911102Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911229Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911418Z 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] 2025-09-03T02:25:17.911454Z 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] 2025-09-03T02:25:17.911470Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911486Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.911495Z 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] 2025-09-03T02:25:17.911505Z 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] 2025-09-03T02:25:17.911753Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912172Z 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] 2025-09-03T02:25:17.912197Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912208Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912434Z 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] 2025-09-03T02:25:17.912553Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912590Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912616Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912641Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912657Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912673Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912703Z 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, 03 Sep 2025 02:25:17 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:54630, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912731Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54630, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.912971Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54630, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.913001Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.913016Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.913024Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.913411Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.913612Z  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] 2025-09-03T02:25:17.913648Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 GMT", "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] 2025-09-03T02:25:17.913780Z  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] 2025-09-03T02:25:17.914080Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914127Z 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] 2025-09-03T02:25:17.914151Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51388) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914285Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914341Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914452Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914606Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51396 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914671Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51396) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914690Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914806Z 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] 2025-09-03T02:25:17.914837Z 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] 2025-09-03T02:25:17.914854Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914869Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.914878Z 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] 2025-09-03T02:25:17.914888Z 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] 2025-09-03T02:25:17.915032Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915294Z 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] 2025-09-03T02:25:17.915319Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915332Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915706Z 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] 2025-09-03T02:25:17.915858Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915900Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915929Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915947Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915965Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.915983Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916158Z 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, 03 Sep 2025 02:25:17 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:54646, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916200Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54646, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916500Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54646, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916541Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916559Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.916568Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.916683Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916724Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916738Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51396) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.916961Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917191Z  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] 2025-09-03T02:25:17.917219Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.917338Z  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] 2025-09-03T02:25:17.917571Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917642Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917785Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51398 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917837Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51398) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917855Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.917990Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.918195Z 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] 2025-09-03T02:25:17.918225Z 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] 2025-09-03T02:25:17.918241Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.918257Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.918268Z 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] 2025-09-03T02:25:17.918279Z 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] 2025-09-03T02:25:17.918424Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.918680Z 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] 2025-09-03T02:25:17.918705Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.918718Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919120Z 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] 2025-09-03T02:25:17.919270Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919310Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919339Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919357Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919373Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919391Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919546Z 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, 03 Sep 2025 02:25:17 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:54660, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919590Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54660, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919861Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54660, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919902Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.919921Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.919931Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.920035Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.920091Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.920108Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51398) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.920332Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.920540Z  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] 2025-09-03T02:25:17.920564Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 GMT", "content-type": "text/plain", "connection": "close", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.920694Z  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] 2025-09-03T02:25:17.920945Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921004Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921141Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921294Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51404 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921348Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51404) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921366Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921483Z 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] 2025-09-03T02:25:17.921512Z 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] 2025-09-03T02:25:17.921529Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921545Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921554Z 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] 2025-09-03T02:25:17.921567Z 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] 2025-09-03T02:25:17.921727Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.921971Z 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] 2025-09-03T02:25:17.921995Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922007Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922379Z 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] 2025-09-03T02:25:17.922528Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922570Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922600Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922618Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922646Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922667Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922820Z 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, 03 Sep 2025 02:25:17 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:54670, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.922862Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54670, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923153Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54670, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923193Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923211Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.923220Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.923327Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923367Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923380Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51404) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923605Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.923820Z  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] 2025-09-03T02:25:17.923844Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.923962Z  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] 2025-09-03T02:25:17.924237Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924293Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924394Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924541Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51412 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924591Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51412) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924609Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924732Z 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] 2025-09-03T02:25:17.924759Z 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] 2025-09-03T02:25:17.924775Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924790Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.924799Z 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] 2025-09-03T02:25:17.924809Z 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] 2025-09-03T02:25:17.924946Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925189Z 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] 2025-09-03T02:25:17.925212Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925224Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925571Z 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] 2025-09-03T02:25:17.925739Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925780Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925808Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925826Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925843Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.925862Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926023Z 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, 03 Sep 2025 02:25:17 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:54686, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926098Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54686, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926376Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54686, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926420Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926438Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.926447Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.926544Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926584Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926598Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51412) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.926830Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927036Z  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] 2025-09-03T02:25:17.927082Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Wed, 03 Sep 2025 02:25:17 GMT", "content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927204Z  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] 2025-09-03T02:25:17.927454Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927513Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927622Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927785Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51422 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927839Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51422) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927857Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.927974Z 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] 2025-09-03T02:25:17.928003Z 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] 2025-09-03T02:25:17.928020Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.928036Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.928047Z 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] 2025-09-03T02:25:17.928077Z 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] 2025-09-03T02:25:17.928222Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.928466Z 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] 2025-09-03T02:25:17.928490Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.928503Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.928873Z 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] 2025-09-03T02:25:17.929024Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929084Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929115Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929133Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929149Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929166Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929319Z 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, 03 Sep 2025 02:25:17 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:54698, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929361Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54698, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929616Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54698, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929665Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.929683Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.929875Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.930001Z  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] 2025-09-03T02:25:17.930179Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.930307Z  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] 2025-09-03T02:25:17.930533Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.930591Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.930707Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.930800Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.930933Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51424 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.930994Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51424) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931013Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931201Z 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] 2025-09-03T02:25:17.931237Z 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] 2025-09-03T02:25:17.931208Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931257Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931276Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931285Z 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] 2025-09-03T02:25:17.931298Z 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] 2025-09-03T02:25:17.931327Z 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] 2025-09-03T02:25:17.931373Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51422) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931608Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931929Z 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] 2025-09-03T02:25:17.931964Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.931985Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932083Z 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] 2025-09-03T02:25:17.932236Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932308Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932367Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932387Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932404Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932426Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932484Z 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, 03 Sep 2025 02:25:17 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:54702, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932530Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54702, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932824Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54702, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932866Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.932886Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.932896Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.933025Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.933090Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.933110Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51424) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.933489Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.933859Z  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] 2025-09-03T02:25:17.933891Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.934097Z  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] 2025-09-03T02:25:17.934441Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.934533Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.934686Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.934876Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51436 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.934970Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51436) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935008Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935166Z 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] 2025-09-03T02:25:17.935206Z 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] 2025-09-03T02:25:17.935228Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935264Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935275Z 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] 2025-09-03T02:25:17.935288Z 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] 2025-09-03T02:25:17.935454Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935812Z 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] 2025-09-03T02:25:17.935902Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.935928Z 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] 2025-09-03T02:25:17.935943Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936345Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936528Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936613Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936731Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936819Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.936863Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.939098Z 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, 03 Sep 2025 02:25:17 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:54716, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.939204Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54716, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.939670Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54716, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.939940Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.940091Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.940246Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.940430Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.940513Z  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] 2025-09-03T02:25:17.940563Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.940721Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.940863Z 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] 2025-09-03T02:25:17.940939Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51436) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.941089Z  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] 2025-09-03T02:25:17.941519Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.941691Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.941873Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942078Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51442 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942319Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51442) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942383Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942598Z 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] 2025-09-03T02:25:17.942694Z 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] 2025-09-03T02:25:17.942739Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942848Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.942902Z 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] 2025-09-03T02:25:17.942958Z 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] 2025-09-03T02:25:17.943181Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.943490Z 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] 2025-09-03T02:25:17.943559Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.943596Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944238Z 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] 2025-09-03T02:25:17.944569Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944664Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944736Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944806Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944850Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.944947Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.945047Z 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, 03 Sep 2025 02:25:17 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:54720, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.945134Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54720, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.945448Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54720, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.945707Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.945857Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.946006Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.946161Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.946392Z  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] 2025-09-03T02:25:17.946595Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.946738Z  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] 2025-09-03T02:25:17.946460Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.946958Z 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] 2025-09-03T02:25:17.946987Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51442) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947136Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947189Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947318Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51458 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947365Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51458) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947380Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947485Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947631Z 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] 2025-09-03T02:25:17.947666Z 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] 2025-09-03T02:25:17.947680Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947695Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.947703Z 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] 2025-09-03T02:25:17.947712Z 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] 2025-09-03T02:25:17.947848Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948210Z 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] 2025-09-03T02:25:17.948237Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948249Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948425Z 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] 2025-09-03T02:25:17.948606Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948670Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948720Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948753Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948772Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948792Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.948948Z 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, 03 Sep 2025 02:25:17 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:54728, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.949007Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54728, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.949868Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54728, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.949927Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.949950Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.949967Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.950099Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.950159Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.950188Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51458) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.950415Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.950510Z  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] 2025-09-03T02:25:17.950535Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.950670Z  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] 2025-09-03T02:25:17.951117Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951179Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951279Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951342Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51470 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951412Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51470) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951445Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951573Z 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] 2025-09-03T02:25:17.951614Z 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] 2025-09-03T02:25:17.951637Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951671Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.951693Z 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] 2025-09-03T02:25:17.951708Z 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] 2025-09-03T02:25:17.951982Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952366Z 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] 2025-09-03T02:25:17.952414Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952430Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952682Z 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] 2025-09-03T02:25:17.952825Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952879Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952921Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952953Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.952972Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953006Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953048Z 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, 03 Sep 2025 02:25:17 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:54732, peer: 127.0.0.1:45537, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953103Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54732, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953375Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54732, peer: 127.0.0.1:45537, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953440Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953461Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.953487Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.953899Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.953988Z  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] 2025-09-03T02:25:17.954013Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.954125Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954150Z  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] 2025-09-03T02:25:17.954169Z 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] 2025-09-03T02:25:17.954194Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:51470) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954425Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954508Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954623Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954791Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51480 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954859Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51480) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.954879Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955006Z 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] 2025-09-03T02:25:17.955048Z 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] 2025-09-03T02:25:17.955097Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955117Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955126Z 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] 2025-09-03T02:25:17.955136Z 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] 2025-09-03T02:25:17.955286Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955555Z 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] 2025-09-03T02:25:17.955591Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955605Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.955960Z 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] 2025-09-03T02:25:17.956142Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956196Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956232Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956265Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956318Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956340Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956507Z 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, 03 Sep 2025 02:25:17 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:54748, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956550Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54748, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956819Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54748, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956871Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.956891Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.956912Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.957022Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.957089Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.957114Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51480) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.957371Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.957471Z  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] 2025-09-03T02:25:17.957495Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.957606Z  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] 2025-09-03T02:25:17.957868Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.957946Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958081Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958245Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51492 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958313Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51492) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958345Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958486Z 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] 2025-09-03T02:25:17.958531Z 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] 2025-09-03T02:25:17.958551Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958582Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.958602Z 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] 2025-09-03T02:25:17.958615Z 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] 2025-09-03T02:25:17.958775Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959030Z 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] 2025-09-03T02:25:17.959082Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959098Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959458Z 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] 2025-09-03T02:25:17.959621Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959675Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959706Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959737Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959767Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959789Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959947Z 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, 03 Sep 2025 02:25:17 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:54760, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.959999Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54760, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960290Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54760, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960344Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960365Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.960375Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.960497Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960538Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960560Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51492) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960792Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.960954Z  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] 2025-09-03T02:25:17.961007Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "date": "Wed, 03 Sep 2025 02:25:17 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] 2025-09-03T02:25:17.961165Z  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] 2025-09-03T02:25:17.961480Z 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:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.961556Z DEBUG isahc::handler:  Trying 127.0.0.1:40179... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.961678Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 40179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:40179/hello [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.961845Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:51494 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.961910Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:51494) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.961933Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.962052Z 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] 2025-09-03T02:25:17.962113Z 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] 2025-09-03T02:25:17.962132Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.962160Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.962171Z 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] 2025-09-03T02:25:17.962183Z 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] 2025-09-03T02:25:17.962342Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.962602Z 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] 2025-09-03T02:25:17.962638Z DEBUG gateway::gateway::origin::tcp::origin: Remains sent to origin: [] [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:53 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.962653Z DEBUG gateway::gateway::origin::tcp::origin: Body sent to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:62 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963019Z 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] 2025-09-03T02:25:17.963199Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963251Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963297Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963328Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963346Z DEBUG gateway::http::headers: Parsing header, header: "date: Wed, 03 Sep 2025 02:25:17 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963363Z 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, 03 Sep 2025 02:25:17 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963542Z 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, 03 Sep 2025 02:25:17 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:54774, fd: 5 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963598Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54774, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963870Z 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, 03 Sep 2025 02:25:17 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:54774, fd: 5 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963922Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.963943Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.963957Z DEBUG io::copy::tcp::linux: 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] 2025-09-03T02:25:17.964083Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.964133Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.964148Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:51494) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-09-03T02:25:17.964377Z 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:40179/hello [INFO] [stdout] [WARN] too many lines in the log, truncating it