[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#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajksa-dev%2Frust-gateway" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] finished tweaking git repo https://github.com/majksa-dev/rust-gateway [INFO] tweaked toml for git repo https://github.com/majksa-dev/rust-gateway written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majksa-dev/rust-gateway on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6325ffb6589964a35d9c21e7987fe2fe5510f8edf9dddd5d84040efc47d8119e [INFO] running `Command { std: "docker" "start" "-a" "6325ffb6589964a35d9c21e7987fe2fe5510f8edf9dddd5d84040efc47d8119e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6325ffb6589964a35d9c21e7987fe2fe5510f8edf9dddd5d84040efc47d8119e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6325ffb6589964a35d9c21e7987fe2fe5510f8edf9dddd5d84040efc47d8119e", kill_on_drop: false }` [INFO] [stdout] 6325ffb6589964a35d9c21e7987fe2fe5510f8edf9dddd5d84040efc47d8119e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f68a9957fb9255863d002f2cb9c86505ec88058f9c43563ea175b11c3f6491 [INFO] running `Command { std: "docker" "start" "-a" "17f68a9957fb9255863d002f2cb9c86505ec88058f9c43563ea175b11c3f6491", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [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 smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 19.22s [INFO] running `Command { std: "docker" "inspect" "17f68a9957fb9255863d002f2cb9c86505ec88058f9c43563ea175b11c3f6491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f68a9957fb9255863d002f2cb9c86505ec88058f9c43563ea175b11c3f6491", kill_on_drop: false }` [INFO] [stdout] 17f68a9957fb9255863d002f2cb9c86505ec88058f9c43563ea175b11c3f6491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311353faf5f7fec4795c346c687f4f3ba303981b16a9aa90d830bd6f72e02414 [INFO] running `Command { std: "docker" "start" "-a" "311353faf5f7fec4795c346c687f4f3ba303981b16a9aa90d830bd6f72e02414", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling log v0.4.21 [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 proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-task v4.7.1 [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 hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.16 [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 rustls-pki-types v1.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-lock v2.8.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 bumpalo v3.16.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [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 mime_guess v2.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling sendfile v0.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling assert_fs v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling rcgen v0.13.1 [INFO] [stderr] Compiling parse-display-derive v0.9.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling 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 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 tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde-env v0.1.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling docker_credential v1.3.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling bollard-stubs v1.44.0-rc.2 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling test-macros v0.1.5 (https://github.com/majksa-dev/rust-testing-utils?tag=0.1.5#8ee4e3bf) [INFO] [stderr] Compiling essentials v0.3.6 (https://github.com/majksa-dev/rust-essentials?tag=0.3.6#c1a0e2f6) [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling io v0.3.0 (https://github.com/majksa-dev/rust-io?tag=0.3.0#9d3222b2) [INFO] [stderr] Compiling gateway v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 hyperlocal-next v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling wiremock v0.6.1 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/headers.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 09s [INFO] running `Command { std: "docker" "inspect" "311353faf5f7fec4795c346c687f4f3ba303981b16a9aa90d830bd6f72e02414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311353faf5f7fec4795c346c687f4f3ba303981b16a9aa90d830bd6f72e02414", kill_on_drop: false }` [INFO] [stdout] 311353faf5f7fec4795c346c687f4f3ba303981b16a9aa90d830bd6f72e02414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea195ed3f791227a8a8b7969a5d414f582459f9de3492281133c600df0bcaebf [INFO] running `Command { std: "docker" "start" "-a" "ea195ed3f791227a8a8b7969a5d414f582459f9de3492281133c600df0bcaebf", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/http/headers.rs:124:43 [INFO] [stderr] | [INFO] [stderr] 124 | fn header_all>(&self, key: K) -> Option> { [INFO] [stderr] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 [INFO] [stderr] warning: `gateway` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s [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.14s [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] [stderr] Running tests/auth_basic_server.rs (/opt/rustwide/target/debug/deps/auth_basic_server-cd91e3397843458e) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/auth_endpoint_server.rs (/opt/rustwide/target/debug/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] [stderr] Running tests/cors_server.rs (/opt/rustwide/target/debug/deps/cors_server-d99e52b57604fc1e) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/empty_server.rs (/opt/rustwide/target/debug/deps/empty_server-9ce99e893499f478) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] 2025-06-28T22:34:53.040845Z DEBUG gateway::server::app: Starting server [INFO] [stdout] at src/server/app.rs:167 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.041022Z DEBUG gateway::http::server: Listening on: 127.0.0.1:44829 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.041032Z DEBUG isahc::agent: agent waker listening on 127.0.0.1:59351 [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-06-28T22:34:53.041094Z DEBUG gateway::http::server: Listening on: 127.0.0.1:33855 [INFO] [stdout] at src/http/server.rs:29 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.041363Z DEBUG isahc::agent: agent took 368.349µ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: 59351 [INFO] [stdout] in isahc::client::build [INFO] [stdout] in isahc::client::new [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.041618Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.042334Z DEBUG isahc::handler:  Trying 127.0.0.1:44829... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44829/ [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.042610Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 44829 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:44829/ [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.042711Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:42438 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.043109Z 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:44829/ [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.046975Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.047216Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/surf-2.3.2/src/middleware/logger/native.rs:117 [INFO] [stdout] [INFO] [stdout] test tests::should_succeed ... FAILED [INFO] [stdout] 2025-06-28T22:34:53.050654Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.050962Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.051674Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34090 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.051902Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34090) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.051961Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.052722Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.052817Z DEBUG 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-06-28T22:34:53.053133Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.053309Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.053389Z DEBUG gateway::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-06-28T22:34:53.053780Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.057833Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.058206Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.058253Z 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-06-28T22:34:53.058278Z 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-06-28T22:34:53.058876Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.059105Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059169Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059206Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059219Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059231Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059254Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059495Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41482, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059552Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41482, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059788Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41482, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059821Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.059839Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.059849Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.059975Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.060017Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.060029Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34090) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.060021Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.061018Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.061419Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.063895Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.064350Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.064475Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.065031Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.065444Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34098 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.065564Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34098) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.065761Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.066126Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.066216Z DEBUG 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-06-28T22:34:53.066256Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.066406Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.066445Z DEBUG gateway::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-06-28T22:34:53.066474Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.066885Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.067500Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.067565Z 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-06-28T22:34:53.067656Z 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-06-28T22:34:53.068170Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.068547Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.068843Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.068927Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.068991Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.069070Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.069175Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.069292Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41498, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.069644Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41498, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.070062Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41498, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.073650Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.073753Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.073765Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.073948Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.073999Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.074011Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34098) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.074362Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.075652Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.075701Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.076067Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.078280Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.078431Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.078695Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079033Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34102 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079174Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34102) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079249Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079498Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.079586Z DEBUG 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-06-28T22:34:53.079649Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079712Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.079787Z DEBUG gateway::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-06-28T22:34:53.079858Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.080113Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.080522Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.081147Z 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-06-28T22:34:53.081214Z 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-06-28T22:34:53.081101Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.081525Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.081627Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.081808Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.081964Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.082195Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.082272Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.082417Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41502, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.082658Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41502, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.083323Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41502, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.083670Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.083943Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.083786Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.087707Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.087993Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.088054Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.088067Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34102) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.084300Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.088441Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.088704Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.089093Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089168Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089282Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089521Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34116 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089604Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34116) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089625Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089777Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.089808Z DEBUG 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-06-28T22:34:53.089829Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089852Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.089860Z DEBUG gateway::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-06-28T22:34:53.089872Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.090017Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.090224Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.090241Z 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-06-28T22:34:53.090254Z 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-06-28T22:34:53.090828Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.091076Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091175Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091254Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091318Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091359Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091443Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091679Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41504, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.091850Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41504, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.094886Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41504, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.095168Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.095415Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.095496Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.095961Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.096308Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.096369Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.096027Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.096710Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34116) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.096662Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.097191Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.097695Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.097830Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.098228Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34118 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.098166Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.098543Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34118) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.098625Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.098918Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.099038Z DEBUG 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-06-28T22:34:53.099144Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.099253Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.099321Z DEBUG gateway::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-06-28T22:34:53.099376Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.099758Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.100464Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.100606Z 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-06-28T22:34:53.100759Z 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-06-28T22:34:53.101458Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.101781Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.101934Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.102013Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.102181Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.102424Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.102544Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.102879Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41520, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.103170Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41520, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.103709Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41520, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.103965Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.104043Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.104141Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.104980Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.105665Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.105821Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34118) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.105513Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.106384Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.105586Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.107466Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.108015Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.108350Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.108734Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.108948Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34128 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109028Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34128) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109050Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109235Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.109274Z DEBUG 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-06-28T22:34:53.109299Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109329Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109339Z DEBUG gateway::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-06-28T22:34:53.109354Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.109521Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.109758Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.109781Z 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-06-28T22:34:53.109796Z 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-06-28T22:34:53.110350Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.110894Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.111318Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.111480Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.111639Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.111823Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.111986Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.112494Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41536, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.112600Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41536, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.113071Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41536, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.113349Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.113420Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.113460Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.113978Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.114191Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.114544Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34128) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.114297Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.115153Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.115323Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "content-length": "13", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.115985Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.116726Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.117268Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.117759Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.118014Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34140 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.118226Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34140) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.118343Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.118691Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.118772Z DEBUG 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-06-28T22:34:53.118815Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.119007Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.119071Z DEBUG gateway::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-06-28T22:34:53.119105Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.119560Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.120150Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.120495Z 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-06-28T22:34:53.120603Z 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-06-28T22:34:53.120918Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.121210Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121326Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121440Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121644Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121678Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121704Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121760Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41542, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.121807Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41542, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122084Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41542, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122132Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122153Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.122164Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.122280Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122328Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122342Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34140) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.122691Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.123051Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.123210Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.123470Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.123871Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.124104Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.124510Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.124832Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34142 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.125023Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34142) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.125056Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.125317Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.125381Z DEBUG 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-06-28T22:34:53.125405Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.125432Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.125442Z DEBUG gateway::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-06-28T22:34:53.125456Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.125776Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.126015Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.126038Z 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-06-28T22:34:53.126051Z 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-06-28T22:34:53.126602Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.126898Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127044Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127116Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127195Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127264Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127350Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127616Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41548, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.127731Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41548, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.128423Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41548, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.128606Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.128876Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.128712Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.129232Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.129411Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.129160Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.129629Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.130004Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.129752Z 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-06-28T22:34:53.130117Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34142) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.130687Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.130872Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.131127Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34148 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.131320Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.131247Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34148) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.131532Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.131747Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.131862Z DEBUG 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-06-28T22:34:53.131937Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.132004Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.132041Z DEBUG gateway::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-06-28T22:34:53.132113Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.132325Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.132762Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.133251Z 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-06-28T22:34:53.133310Z 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-06-28T22:34:53.133217Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.133619Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.133707Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.133809Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.133869Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.133914Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.134000Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.134092Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41552, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.134265Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41552, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.134874Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41552, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.135149Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.135236Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.135296Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.135550Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.135737Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.135791Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34148) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.135835Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.136327Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.136410Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.136665Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.137167Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.137295Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.137531Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.137814Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34162 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.138054Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34162) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.138118Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.138348Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.138516Z DEBUG 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-06-28T22:34:53.138591Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.138665Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.138714Z DEBUG gateway::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-06-28T22:34:53.138748Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.138957Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.139350Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.143636Z 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-06-28T22:34:53.143699Z 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-06-28T22:34:53.140034Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.144089Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144172Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144222Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144243Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144258Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144283Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144328Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41558, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144373Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41558, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144660Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41558, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144728Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.144750Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.144761Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.145522Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.145985Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.146022Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.146229Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.146694Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.146754Z 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-06-28T22:34:53.146784Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34162) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147055Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147140Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147272Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147523Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34164 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147614Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34164) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147638Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147794Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.147828Z DEBUG 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-06-28T22:34:53.147851Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147877Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.147887Z DEBUG gateway::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-06-28T22:34:53.147901Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.148270Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.148882Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.149311Z 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-06-28T22:34:53.149378Z 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-06-28T22:34:53.149275Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.149678Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.149772Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.149875Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.149935Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.149977Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.150061Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.150287Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41566, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.150393Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41566, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.150721Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41566, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.151036Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.151190Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.151343Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.151557Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.151665Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.151831Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34164) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.151782Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.152357Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.152432Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.152694Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.153099Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.153237Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.153511Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.153801Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34166 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.153943Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34166) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.154005Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.154230Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.154311Z DEBUG 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-06-28T22:34:53.154356Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.154428Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.154475Z DEBUG gateway::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-06-28T22:34:53.154510Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.154725Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.155072Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.155623Z 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-06-28T22:34:53.155686Z 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-06-28T22:34:53.155560Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.156005Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.156090Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.156168Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.156236Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.156324Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.158307Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.158415Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41576, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.158622Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41576, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.159013Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41576, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.159361Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.159449Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.159693Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.160022Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.160239Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.159648Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.160196Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.160866Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.160495Z 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-06-28T22:34:53.160993Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34166) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.161526Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.161670Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.161941Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34176 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162035Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162262Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34176) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162330Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162527Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.162610Z DEBUG 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-06-28T22:34:53.162652Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162712Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.162757Z DEBUG gateway::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-06-28T22:34:53.162791Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.163113Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.163550Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.163962Z 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-06-28T22:34:53.164025Z 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-06-28T22:34:53.163928Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.164317Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164406Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164478Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164560Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164642Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164735Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.164900Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41592, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.165071Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41592, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.165457Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41592, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.165719Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.165792Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.165861Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.166098Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.166444Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.166511Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34176) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.166200Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.166392Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.166841Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.167077Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.167484Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.167623Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.167810Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168050Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34184 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168190Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34184) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168246Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168432Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.168510Z DEBUG 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-06-28T22:34:53.168554Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168621Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.168662Z DEBUG gateway::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-06-28T22:34:53.168694Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.168898Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.169262Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.169814Z 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-06-28T22:34:53.169873Z 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-06-28T22:34:53.169783Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.170158Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170240Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170313Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170394Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170461Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170520Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170603Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41604, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.170767Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41604, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.171152Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41604, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.171446Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.171598Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.171739Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.171917Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.172386Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.172475Z 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-06-28T22:34:53.172242Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.172593Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "connection": "close", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.172673Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34184) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.172993Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.173397Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.173501Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.173674Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.173896Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34194 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.173989Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34194) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.174045Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.174232Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.174304Z DEBUG 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-06-28T22:34:53.174342Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.174397Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.174436Z DEBUG gateway::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-06-28T22:34:53.174465Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.174655Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.175005Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.175481Z 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-06-28T22:34:53.175531Z 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-06-28T22:34:53.175447Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.175812Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.175895Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.175997Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176061Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176100Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176173Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176257Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41606, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176452Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41606, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.176817Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41606, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177081Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177158Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.177214Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.177448Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177805Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177856Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34194) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177560Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.177749Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.178219Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.178424Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.178783Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.178887Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179048Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179269Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34196 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179362Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34196) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179420Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179619Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.179683Z DEBUG 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-06-28T22:34:53.179722Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179780Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.179814Z DEBUG gateway::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-06-28T22:34:53.179840Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.180011Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.180346Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.180818Z 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-06-28T22:34:53.180873Z 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-06-28T22:34:53.180786Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.181153Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181231Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181298Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181344Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181428Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181483Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181556Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41622, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.181745Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41622, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.182105Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41622, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.182387Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.182533Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.182594Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.182785Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.183491Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.183552Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34196) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.183179Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.182891Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.183666Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.184101Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.184489Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.184625Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.184835Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.187746Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34208 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.187843Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34208) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.187869Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.188053Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.188091Z DEBUG 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-06-28T22:34:53.188111Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.188151Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.188160Z DEBUG gateway::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-06-28T22:34:53.188172Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.188351Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.188562Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.188597Z 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-06-28T22:34:53.188610Z 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-06-28T22:34:53.189102Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.189306Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189360Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189398Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189421Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189436Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189459Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189645Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41630, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189697Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41630, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.189952Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41630, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190028Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190078Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.190109Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.190246Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190326Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190363Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34208) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190681Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.190860Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.190722Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.191676Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.192013Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192097Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192238Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192341Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34218 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192447Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34218) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192500Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192680Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.192753Z DEBUG 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-06-28T22:34:53.192790Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192850Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.192889Z DEBUG gateway::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-06-28T22:34:53.192919Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.193220Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.193539Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.193962Z 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-06-28T22:34:53.194020Z 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-06-28T22:34:53.193930Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.194251Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194328Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194421Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194471Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194502Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194558Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194723Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41632, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.194794Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41632, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195112Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41632, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195276Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195350Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.195384Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.195584Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195675Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195681Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.195743Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34218) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195774Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.195521Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.196138Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.196458Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.196538Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.196682Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.196916Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34234 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.197172Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34234) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.197201Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.197444Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.197482Z DEBUG 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-06-28T22:34:53.197499Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.197521Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.197551Z DEBUG gateway::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-06-28T22:34:53.197756Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.198023Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.198396Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.200613Z 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-06-28T22:34:53.200648Z 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-06-28T22:34:53.198685Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.200903Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.200951Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.200982Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.200996Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201009Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201027Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201065Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41636, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201098Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41636, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201323Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41636, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201351Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201368Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.201376Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.201724Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201805Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.201845Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34234) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.202071Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.202380Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.202420Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.202816Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.203200Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.203372Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204077Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34246 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204169Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34246) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204208Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204295Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204598Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.204638Z DEBUG 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-06-28T22:34:53.204660Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204716Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.204733Z DEBUG gateway::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-06-28T22:34:53.204747Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.205180Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.205672Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.206044Z 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-06-28T22:34:53.206064Z 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-06-28T22:34:53.206004Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.206290Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206336Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206367Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206385Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206401Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206424Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206459Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41642, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206497Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41642, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206785Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41642, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206825Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.206863Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.206878Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.207222Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.207292Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.207327Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34246) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.207663Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.207725Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.207701Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.208117Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.208459Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.208606Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209080Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209120Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34260 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209352Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34260) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209405Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209756Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.209831Z DEBUG 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-06-28T22:34:53.209876Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209926Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.209956Z DEBUG gateway::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-06-28T22:34:53.209990Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.210296Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.211166Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.211525Z 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-06-28T22:34:53.211589Z 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-06-28T22:34:53.211493Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.211890Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.211973Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212077Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212145Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212207Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212270Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212476Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41654, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.212556Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41654, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213006Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41654, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213259Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213337Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.213398Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.213662Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213885Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213957Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34260) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.213813Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.214009Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.214185Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.214561Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.215078Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215251Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215488Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215531Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34272 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215715Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34272) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215761Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.215947Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.215980Z DEBUG 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-06-28T22:34:53.216001Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.216026Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.216043Z DEBUG gateway::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-06-28T22:34:53.216056Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.216220Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.216436Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.216458Z 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-06-28T22:34:53.216471Z 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-06-28T22:34:53.217204Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.217562Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.217761Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.217943Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.218094Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.218279Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.218418Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.218750Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41658, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.218962Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41658, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.219360Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41658, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.219760Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.220555Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.220732Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.220752Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.220917Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.220968Z 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-06-28T22:34:53.220998Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34272) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.221418Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.221614Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.222016Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.222651Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.222906Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.223212Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.224770Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34288 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.224871Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34288) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.224899Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.225086Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.225130Z DEBUG 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-06-28T22:34:53.225164Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.225194Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.225206Z DEBUG gateway::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-06-28T22:34:53.225220Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.225555Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.225824Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.225849Z 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-06-28T22:34:53.225865Z 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-06-28T22:34:53.226276Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.226455Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226501Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226531Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226547Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226561Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226606Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226781Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41666, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.226825Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41666, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227087Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41666, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227126Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227177Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.227190Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.227306Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227347Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227361Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34288) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.227604Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.227766Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.227682Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.228269Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.228792Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.228982Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.229198Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.229947Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34302 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230058Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34302) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230089Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230258Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.230300Z DEBUG 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-06-28T22:34:53.230323Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230353Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230367Z DEBUG gateway::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-06-28T22:34:53.230380Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.230678Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.230926Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.230956Z 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-06-28T22:34:53.230971Z 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-06-28T22:34:53.231355Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.231533Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231592Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231623Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231638Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231654Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231675Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231840Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41682, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.231888Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41682, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232156Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41682, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232196Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232234Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.232246Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.232361Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232403Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232417Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34302) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.232428Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.233042Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.233128Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.233334Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.233722Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.233827Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.233996Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.236736Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34308 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.236836Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34308) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.236869Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.237049Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.237096Z DEBUG 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-06-28T22:34:53.237121Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.237163Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.237180Z DEBUG gateway::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-06-28T22:34:53.237195Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.237523Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.238584Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.238617Z 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-06-28T22:34:53.238633Z 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-06-28T22:34:53.238967Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.239164Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239222Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239258Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239284Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239306Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239329Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239505Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41694, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239557Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41694, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239823Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41694, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239872Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.239904Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.239923Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.240041Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.240093Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.240114Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34308) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.240268Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.242718Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.242771Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.242972Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.243350Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.243421Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.243555Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.243688Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34314 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.243763Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34314) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.243786Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.244014Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.244061Z DEBUG 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-06-28T22:34:53.244085Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.244117Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.244128Z DEBUG gateway::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-06-28T22:34:53.244152Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.244325Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.244563Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.244603Z 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-06-28T22:34:53.244618Z 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-06-28T22:34:53.245151Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.245329Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245374Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245402Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245416Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245430Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245450Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245639Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41696, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245688Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41696, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245940Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41696, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245976Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.245996Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.246006Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.246118Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.246168Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.246183Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34314) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.246491Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.246808Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.246835Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.246987Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.247284Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247341Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247442Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247615Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34320 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247669Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34320) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247686Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247811Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.247838Z DEBUG 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-06-28T22:34:53.247857Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247878Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.247886Z DEBUG gateway::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-06-28T22:34:53.247897Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.248156Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.248484Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.248506Z 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-06-28T22:34:53.248519Z 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-06-28T22:34:53.248814Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.248980Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249024Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249050Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249064Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249076Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249096Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249261Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41706, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.249306Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41706, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250011Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41706, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250055Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250073Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.250082Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.250205Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250244Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250257Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34320) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250531Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.250822Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.250851Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.251024Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.251350Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251417Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251540Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251721Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34328 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251789Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34328) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251812Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.251959Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.251989Z DEBUG 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-06-28T22:34:53.252008Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.252033Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.252042Z DEBUG gateway::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-06-28T22:34:53.252054Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.252333Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.252591Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.252615Z 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-06-28T22:34:53.252627Z 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-06-28T22:34:53.252985Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.253168Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253222Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253252Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253270Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253286Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253306Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253465Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41718, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253509Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41718, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253944Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41718, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.253992Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.254011Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.254021Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.254140Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.254182Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.254197Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34328) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.254659Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.254693Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "connection": "close", "content-type": "text/plain", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.254498Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255040Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.255330Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255395Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255513Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255727Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34330 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255786Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34330) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255807Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.255949Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.255984Z DEBUG 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-06-28T22:34:53.256003Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.256027Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.256037Z DEBUG gateway::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-06-28T22:34:53.256048Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.256323Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.256562Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.256603Z 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-06-28T22:34:53.256616Z 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-06-28T22:34:53.256951Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.257117Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257171Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257200Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257215Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257228Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257249Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257404Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41730, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257447Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41730, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257713Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41730, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257749Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257768Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.257779Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.257888Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257930Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.257943Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34330) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.258418Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.258443Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.258276Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.258801Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.259119Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259202Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259326Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259507Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34338 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259610Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34338) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259633Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259771Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.259804Z DEBUG 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-06-28T22:34:53.259825Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259850Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.259860Z DEBUG gateway::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-06-28T22:34:53.259874Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.260148Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.260390Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.260422Z 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-06-28T22:34:53.260436Z 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-06-28T22:34:53.260801Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.260981Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261035Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261071Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261099Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261115Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261146Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261356Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41744, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.261408Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41744, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.262011Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41744, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.262061Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.262081Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.262100Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.262228Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.262281Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.262500Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.266633Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34338) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.267072Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.267107Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.267315Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.267675Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.267747Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.267879Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268127Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34352 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268209Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34352) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268230Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268384Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.268417Z DEBUG 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-06-28T22:34:53.268441Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268464Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.268473Z DEBUG gateway::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-06-28T22:34:53.268485Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.268780Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269009Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.269030Z 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-06-28T22:34:53.269044Z 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-06-28T22:34:53.269413Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.269606Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269653Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269681Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269695Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269708Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269727Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269889Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41758, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.269935Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41758, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270166Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41758, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270195Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270210Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.270219Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.270323Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270358Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270369Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34352) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.270858Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.270884Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.270719Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.271362Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.271661Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.271723Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.271835Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272025Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34358 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272084Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34358) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272102Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272250Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.272281Z DEBUG 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-06-28T22:34:53.272301Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272328Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272337Z DEBUG gateway::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-06-28T22:34:53.272350Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.272708Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.272942Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.272966Z 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-06-28T22:34:53.272980Z 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-06-28T22:34:53.273418Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.273657Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273712Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273744Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273761Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273775Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273796Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.273999Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41762, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274077Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41762, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274347Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41762, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274384Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274403Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.274413Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.274522Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274559Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.274593Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34358) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.275158Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.275260Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.275000Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.275614Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.275965Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276072Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276211Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276420Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34364 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276488Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34364) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276510Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276676Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.276708Z DEBUG 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-06-28T22:34:53.276728Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276753Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.276764Z DEBUG gateway::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-06-28T22:34:53.276776Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.277085Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.277369Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.277835Z 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-06-28T22:34:53.277890Z 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-06-28T22:34:53.277805Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.278143Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278226Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278280Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278325Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278395Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278448Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278512Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41766, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.278708Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41766, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.279221Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41766, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.279450Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.279672Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.279747Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.279998Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.280158Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.279934Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.280371Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.280595Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.280672Z 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-06-28T22:34:53.280736Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34364) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281173Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281274Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281428Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281564Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34378 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281782Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34378) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281830Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.281994Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.282057Z DEBUG 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-06-28T22:34:53.282102Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.282159Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.282194Z DEBUG gateway::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-06-28T22:34:53.282226Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.282411Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.282692Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.283244Z 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-06-28T22:34:53.283294Z 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-06-28T22:34:53.283209Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.283526Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283617Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283671Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283750Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283803Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283850Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.283917Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41768, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.284102Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41768, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.284449Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41768, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.284734Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.284807Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.285015Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.285176Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.285455Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.285505Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34378) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.284967Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.285392Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.285808Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.286036Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.286418Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.286528Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.286693Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.286907Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34392 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.287000Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34392) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.287044Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.287223Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.287286Z DEBUG 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-06-28T22:34:53.287323Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.287363Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.287399Z DEBUG gateway::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-06-28T22:34:53.287425Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.287608Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.288003Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.288459Z 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-06-28T22:34:53.288508Z 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-06-28T22:34:53.288427Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.288771Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.288848Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.288903Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.288953Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.288999Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.289076Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.289159Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41784, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.289357Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41784, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.289668Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41784, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.289952Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.290027Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.290444Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.290627Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.290710Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.290748Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34392) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.290416Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.290209Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.290906Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "connection": "close", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.291261Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.291658Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.291769Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292095Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34398 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292275Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34398) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292187Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292359Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292682Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.292751Z DEBUG 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-06-28T22:34:53.292792Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292844Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.292874Z DEBUG gateway::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-06-28T22:34:53.292913Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.293097Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.293478Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.293909Z 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-06-28T22:34:53.293956Z 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-06-28T22:34:53.293876Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.294172Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294244Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294292Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294334Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294372Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294449Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294528Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41798, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.294769Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41798, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.295062Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41798, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.295348Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.295415Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.295659Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.295811Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.296104Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.295609Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.296307Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34398) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.296044Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.296402Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.296701Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.297076Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297195Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297353Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297492Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34400 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297691Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34400) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297781Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.297952Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.298015Z DEBUG 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-06-28T22:34:53.298059Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.298111Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.298159Z DEBUG gateway::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-06-28T22:34:53.298192Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.298374Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.298647Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.299210Z 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-06-28T22:34:53.299263Z 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-06-28T22:34:53.299176Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.299497Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299594Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299650Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299728Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299778Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299832Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.299898Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41804, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.300089Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41804, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.300386Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41804, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.300665Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.300868Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.300943Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.301170Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.301263Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.301416Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.301621Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.301887Z 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-06-28T22:34:53.301824Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.302228Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34400) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.302443Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.302544Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.302766Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34408 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.302935Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34408) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.302847Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.303098Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.303286Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.303350Z DEBUG 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-06-28T22:34:53.303391Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.303475Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.303509Z DEBUG gateway::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-06-28T22:34:53.303548Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.303742Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.304160Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.304548Z 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-06-28T22:34:53.304642Z 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-06-28T22:34:53.305276Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.305778Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.305971Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.306050Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.306209Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.306497Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.306674Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.307155Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41812, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.307704Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41812, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.308334Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41812, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.308733Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.308928Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.309209Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.309415Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.309538Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.309617Z 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-06-28T22:34:53.309646Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34408) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.309897Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.309928Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "content-type": "text/plain", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.310116Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.311167Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.311436Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.311709Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.311948Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34422 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.312168Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34422) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.312317Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.312524Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.313261Z DEBUG 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-06-28T22:34:53.313321Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.313353Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.313372Z DEBUG gateway::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-06-28T22:34:53.313386Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.313616Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.313876Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.313919Z 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-06-28T22:34:53.313935Z 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-06-28T22:34:53.314741Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.315019Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315086Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315131Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315155Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315173Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315196Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315243Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41824, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315294Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41824, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315561Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41824, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315633Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315654Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.315662Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.315768Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315807Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.315821Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34422) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.316337Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.316811Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.316851Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.317028Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.317365Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.317472Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.317654Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.317869Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34432 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.317988Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34432) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.318042Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.318298Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.318342Z DEBUG 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-06-28T22:34:53.318363Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.318408Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.318424Z DEBUG gateway::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-06-28T22:34:53.318438Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.318664Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.318972Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.319007Z 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-06-28T22:34:53.319022Z 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-06-28T22:34:53.322019Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.322340Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322414Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322459Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322478Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322493Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322517Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322588Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41826, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.322635Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41826, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.323524Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41826, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.323753Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.323825Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.324066Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.324242Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.327687Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.327732Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34432) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.324011Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.324461Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.328089Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "x-custom": "unique", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.328318Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.328728Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.328800Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.328948Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329151Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34440 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329223Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34440) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329245Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329412Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.329449Z DEBUG 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-06-28T22:34:53.329472Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329497Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329506Z DEBUG gateway::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-06-28T22:34:53.329519Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.329700Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.329929Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.329951Z 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-06-28T22:34:53.329964Z 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-06-28T22:34:53.330539Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.330783Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.330874Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.330943Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.330996Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.331040Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.331087Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.331297Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41836, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.331386Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41836, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.331808Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41836, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.332058Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.332242Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.332311Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.332549Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.332827Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.332472Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.332942Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.333155Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.333241Z 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-06-28T22:34:53.333322Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34440) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.337940Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338037Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338263Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34446 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338338Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34446) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338361Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338555Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338866Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.338924Z DEBUG 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-06-28T22:34:53.338950Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338978Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.338988Z DEBUG gateway::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-06-28T22:34:53.339002Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.339348Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.339656Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.339686Z 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-06-28T22:34:53.339702Z 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-06-28T22:34:53.340122Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.340306Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340352Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340382Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340398Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340411Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340432Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340634Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41852, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.340683Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41852, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.341247Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41852, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.341470Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.341544Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.341775Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.341949Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.341729Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.342178Z 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-06-28T22:34:53.342453Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34446) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.342414Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.342639Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.342857Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.343247Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.343369Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.343599Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34458 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.343693Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.343903Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34458) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.343960Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.344143Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.344206Z DEBUG 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-06-28T22:34:53.344250Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.344300Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.344338Z DEBUG gateway::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-06-28T22:34:53.344370Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.344715Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.345002Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.345457Z 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-06-28T22:34:53.345516Z 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-06-28T22:34:53.345426Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.345778Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.345860Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.345949Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346001Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346039Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346083Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346286Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41862, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346357Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41862, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346652Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41862, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.346951Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.347019Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.350956Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.351220Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.351281Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.351295Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34458) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.347193Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.350894Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.351553Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.351780Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.352142Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352211Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352359Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352532Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34474 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352619Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34474) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352642Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352795Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.352826Z DEBUG 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-06-28T22:34:53.352847Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352871Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.352880Z DEBUG gateway::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-06-28T22:34:53.352906Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.353058Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.353276Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.353295Z 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-06-28T22:34:53.353308Z 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-06-28T22:34:53.353802Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.353997Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354043Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354073Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354088Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354105Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354127Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354373Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41868, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354424Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41868, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354678Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41868, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354716Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354735Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.354745Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.354858Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354905Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.354919Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34474) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.355477Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.355325Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.355754Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.355976Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.356325Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.356427Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.356591Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.356813Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34488 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.356924Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34488) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.356967Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.357134Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.357202Z DEBUG 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-06-28T22:34:53.357241Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.357285Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.357321Z DEBUG gateway::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-06-28T22:34:53.357352Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.357675Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.357969Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.358419Z 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-06-28T22:34:53.358472Z 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-06-28T22:34:53.358386Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.358717Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.358799Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.358896Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.358949Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.358992Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.359042Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.359124Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41878, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.359315Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41878, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.359976Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41878, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.360185Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.360254Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.360645Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.360815Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.360898Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.360949Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34488) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.360620Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.361083Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.360415Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.361464Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.361847Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.361971Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362190Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34498 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362368Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34498) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362276Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362530Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362753Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.362826Z DEBUG 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-06-28T22:34:53.362871Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362935Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.362967Z DEBUG gateway::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-06-28T22:34:53.363000Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.363192Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.363628Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.368209Z 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-06-28T22:34:53.368244Z 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-06-28T22:34:53.368144Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.368490Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368551Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368613Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368634Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368649Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368672Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368715Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41888, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368756Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41888, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.368991Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41888, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.369020Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.369036Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.369045Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.369563Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.370016Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.370060Z 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-06-28T22:34:53.370086Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34498) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.369902Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.370176Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.370351Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.370693Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.370759Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.370894Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371067Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34512 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371126Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34512) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371145Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371279Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.371311Z DEBUG 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-06-28T22:34:53.371329Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371353Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371361Z DEBUG gateway::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-06-28T22:34:53.371373Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.371653Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.371866Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.371896Z 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-06-28T22:34:53.371908Z 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-06-28T22:34:53.372235Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.372396Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372442Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372469Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372490Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372504Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372524Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372806Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41890, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.372895Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41890, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373150Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41890, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373187Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373205Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.373215Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.373321Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373360Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373373Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34512) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.373925Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.373766Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.374042Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "x-custom": "unique", "content-length": "13", "content-type": "text/plain", "connection": "close"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.374366Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.374735Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.374843Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375013Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375240Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34524 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375351Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34524) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375409Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375605Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.375676Z DEBUG 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-06-28T22:34:53.375719Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375767Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.375805Z DEBUG gateway::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-06-28T22:34:53.375838Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.376167Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.376450Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.376918Z 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-06-28T22:34:53.376966Z 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-06-28T22:34:53.376876Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.377201Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377287Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377346Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377430Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377480Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377543Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377628Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41896, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.377814Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41896, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.378451Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41896, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.378660Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.378734Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.378960Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.379120Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.379414Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.378914Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.379353Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.379691Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "x-custom": "unique", "content-length": "13", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.379757Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34524) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.380049Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.380419Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.380534Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.380720Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.380876Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34534 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.381084Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34534) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.381147Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.381324Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.381399Z DEBUG 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-06-28T22:34:53.381442Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.381496Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.381534Z DEBUG gateway::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-06-28T22:34:53.381584Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.381785Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.382230Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.382683Z 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-06-28T22:34:53.382737Z 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-06-28T22:34:53.382651Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.383016Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383101Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383158Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383215Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383286Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383344Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383409Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41898, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.383623Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41898, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.387982Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41898, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.388076Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.388097Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.388106Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.388282Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.388332Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.388345Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34534) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.388931Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.388961Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "x-custom": "unique", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.389035Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.389343Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.389648Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.389715Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.389837Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390049Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34546 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390114Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34546) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390133Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390285Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.390317Z DEBUG 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-06-28T22:34:53.390337Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390361Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390370Z DEBUG gateway::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-06-28T22:34:53.390383Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.390545Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.390789Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.390815Z 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-06-28T22:34:53.390829Z 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-06-28T22:34:53.391421Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.391666Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.391719Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.391752Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.391769Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.391782Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.391804Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.392021Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41902, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.392105Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41902, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.392463Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41902, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.392724Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.392947Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.393028Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.393361Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.393426Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "connection": "close", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.393605Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.393219Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.393896Z 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-06-28T22:34:53.394144Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34546) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.394101Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.394670Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.394813Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395027Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34560 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395086Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34560) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395105Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395218Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395422Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.395455Z DEBUG 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-06-28T22:34:53.395475Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395499Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.395509Z DEBUG gateway::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-06-28T22:34:53.395523Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.395864Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.396285Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.396662Z 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-06-28T22:34:53.396718Z 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-06-28T22:34:53.396629Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.396972Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397057Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397113Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397202Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397249Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397305Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397373Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41904, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.397565Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41904, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.398085Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41904, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.398318Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.398524Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.398614Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.398869Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.399033Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.398799Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.399255Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "content-length": "13", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.399464Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.399555Z 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-06-28T22:34:53.399646Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34560) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.400057Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.400168Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.400315Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.403786Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34572 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.408778Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34572) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.408826Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.409063Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.409103Z DEBUG 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-06-28T22:34:53.409128Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.409157Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.409167Z DEBUG gateway::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-06-28T22:34:53.409180Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.409398Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.409654Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.409681Z 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-06-28T22:34:53.409696Z 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-06-28T22:34:53.410212Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.410393Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410439Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410468Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410483Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410495Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410515Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410705Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41920, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410753Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41920, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.410988Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41920, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411028Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411059Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.411072Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.411190Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411232Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411245Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34572) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411242Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.411537Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.411586Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.411760Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.413709Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.413804Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.413959Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414206Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34584 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414283Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34584) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414308Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414487Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.414528Z DEBUG 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-06-28T22:34:53.414553Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414595Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.414609Z DEBUG gateway::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-06-28T22:34:53.414623Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.414791Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.415033Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.415061Z 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-06-28T22:34:53.415076Z 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-06-28T22:34:53.416201Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.416636Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416698Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416737Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416761Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416784Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416808Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416858Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41930, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.416910Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41930, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.417185Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41930, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.417238Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.417260Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.417271Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.417391Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.417440Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.417462Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34584) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.418046Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.418083Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.418185Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.418511Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.418848Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.418933Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419064Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419299Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34592 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419371Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34592) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419398Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419534Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.419583Z DEBUG 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-06-28T22:34:53.419606Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419633Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.419649Z DEBUG gateway::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-06-28T22:34:53.419661Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.419815Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.420057Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.420087Z 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-06-28T22:34:53.420102Z 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-06-28T22:34:53.420534Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.423937Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424039Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424098Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424129Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424165Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424198Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424269Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41942, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424322Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41942, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424599Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41942, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424652Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424683Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.424726Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.424858Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424915Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.424934Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34592) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.425531Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.425564Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "x-custom": "unique", "content-type": "text/plain", "content-length": "13"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.425665Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426011Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.426322Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426403Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426541Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426771Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34606 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426843Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34606) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.426871Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.427025Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.427063Z DEBUG 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-06-28T22:34:53.427085Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.427111Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.427128Z DEBUG gateway::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-06-28T22:34:53.427154Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.427313Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.427546Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.427588Z 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-06-28T22:34:53.427604Z 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-06-28T22:34:53.428075Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.428300Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428347Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428374Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428390Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428404Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428427Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428604Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41944, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428658Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41944, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428913Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41944, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428957Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.428978Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.428994Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.429108Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.429163Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.429176Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34606) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.429687Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.429720Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.429528Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430088Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.430398Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430462Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430596Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430780Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34618 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430841Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34618) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.430860Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.431005Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.431043Z DEBUG 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-06-28T22:34:53.431065Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.431091Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.431101Z DEBUG gateway::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-06-28T22:34:53.431114Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.431399Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.431783Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.431818Z 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-06-28T22:34:53.431832Z 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-06-28T22:34:53.435027Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.435286Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435353Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435391Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435407Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435421Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435444Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435648Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41952, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.435708Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41952, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436217Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41952, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436270Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436291Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.436306Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.436432Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436482Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436504Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34618) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.436810Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.437140Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.437170Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.437330Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.437655Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.437721Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.437841Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438021Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34628 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438086Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34628) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438105Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438263Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.438295Z DEBUG 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-06-28T22:34:53.438319Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438346Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438355Z DEBUG gateway::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-06-28T22:34:53.438368Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.438663Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.438907Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.438934Z 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-06-28T22:34:53.438948Z 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-06-28T22:34:53.439295Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.439471Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439519Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439549Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439565Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439603Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439626Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439788Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41968, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.439834Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41968, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.440547Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41968, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.440621Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.440642Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.440653Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.440771Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.440823Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.440845Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34628) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.441144Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.441440Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.441470Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.441660Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.441989Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442054Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442188Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442369Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34634 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442436Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34634) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442457Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442656Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.442692Z DEBUG 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-06-28T22:34:53.442718Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442744Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.442754Z DEBUG gateway::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-06-28T22:34:53.442768Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.443059Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.443322Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.443348Z 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-06-28T22:34:53.443362Z 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-06-28T22:34:53.443772Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.443945Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.443991Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444021Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444037Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444051Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444072Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444245Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41972, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444294Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41972, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444901Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41972, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444943Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.444962Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.444973Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.445084Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.445123Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.445143Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34634) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.445593Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.445620Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.445433Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446075Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.446417Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446486Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446617Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446855Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34644 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446964Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34644) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.446989Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.447143Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.447178Z DEBUG 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-06-28T22:34:53.447200Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.447225Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.447235Z DEBUG gateway::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-06-28T22:34:53.447247Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.447553Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.447848Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.448675Z 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-06-28T22:34:53.448757Z 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-06-28T22:34:53.448920Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.449252Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449306Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449336Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449352Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449366Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449387Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449421Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41976, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.449456Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41976, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.450498Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41976, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.450558Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.450592Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.450604Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.450720Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.450760Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.450775Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34644) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.451304Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.451390Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.451526Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.451937Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.452302Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.452442Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.452624Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.452873Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34656 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.452981Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34656) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.453024Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.453186Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.453218Z DEBUG 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-06-28T22:34:53.453240Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.453266Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.453276Z DEBUG gateway::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-06-28T22:34:53.453289Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.453619Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.453896Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.454448Z 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-06-28T22:34:53.454509Z 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-06-28T22:34:53.454337Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.454763Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.454847Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.454934Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.454993Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.455044Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.455076Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.455290Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41982, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.455341Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41982, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.455900Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41982, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.456120Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.456209Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.456228Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.456347Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.456388Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.456401Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34656) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.456855Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.456916Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.457121Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.457368Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.457720Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.457815Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.457951Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458183Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34670 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458285Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34670) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458333Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458518Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.458605Z DEBUG 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-06-28T22:34:53.458634Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458661Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.458672Z DEBUG gateway::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-06-28T22:34:53.458685Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.458849Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.459071Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.459094Z 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-06-28T22:34:53.459107Z 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-06-28T22:34:53.459630Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.459840Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.459922Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.459972Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460018Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460052Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460090Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460314Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41998, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460399Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41998, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.460825Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:41998, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.461079Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.461318Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.461393Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.461650Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.461564Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.461965Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.462283Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.462066Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.462406Z 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-06-28T22:34:53.462469Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34670) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.462940Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463049Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463207Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463339Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34676 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463528Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34676) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463597Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.463872Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.464028Z DEBUG 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-06-28T22:34:53.464086Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.464117Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.464126Z DEBUG gateway::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-06-28T22:34:53.464149Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.464462Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.464785Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.465256Z 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-06-28T22:34:53.465306Z 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-06-28T22:34:53.465224Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.465555Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465682Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465753Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465775Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465790Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465811Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465850Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42012, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.465887Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42012, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.466129Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42012, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.466178Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.466197Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.466207Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.466753Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.467230Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.466999Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.467331Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.467629Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.467419Z 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-06-28T22:34:53.467720Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34676) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468160Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468277Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468482Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34688 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468685Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34688) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468597Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.468846Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.469046Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.469109Z DEBUG 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-06-28T22:34:53.469165Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.469214Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.469255Z DEBUG gateway::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-06-28T22:34:53.469292Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.469626Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.470057Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.470449Z 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-06-28T22:34:53.470496Z 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-06-28T22:34:53.470417Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.470746Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.470831Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.470920Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.470975Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471023Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471068Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471129Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42028, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471340Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42028, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471640Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42028, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.471917Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.472153Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.472224Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.472479Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.472642Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.472415Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.472881Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.473184Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.472973Z 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-06-28T22:34:53.473279Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34688) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.473750Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.473870Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474092Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34704 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474193Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474398Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34704) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474455Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474644Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.474713Z DEBUG 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-06-28T22:34:53.474758Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474802Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.474841Z DEBUG gateway::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-06-28T22:34:53.474874Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.475053Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.475474Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.475939Z 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-06-28T22:34:53.475987Z 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-06-28T22:34:53.475907Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.476236Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476540Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476637Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476678Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476720Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476762Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.476853Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42034, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477128Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42034, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477560Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42034, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477617Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477635Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.477646Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.477756Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477796Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.477808Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34704) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.478417Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.478473Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.478704Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "x-custom": "unique", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.478934Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.479319Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.479396Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.479516Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.479748Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34710 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.479861Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34710) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.479920Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.480097Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.480177Z DEBUG 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-06-28T22:34:53.480221Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.480267Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.480308Z DEBUG gateway::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-06-28T22:34:53.480327Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.480487Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.480738Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.480764Z 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-06-28T22:34:53.480778Z 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-06-28T22:34:53.481355Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.481621Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.481704Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.481757Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.481803Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.481836Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.481876Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.482169Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42044, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.482255Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42044, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.482860Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42044, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483037Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483241Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483314Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.483525Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.483678Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483718Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483729Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34710) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.483487Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.483978Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.484219Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.484613Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.484746Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.484917Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485141Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34720 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485214Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34720) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485234Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485390Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.485423Z DEBUG 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-06-28T22:34:53.485445Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485470Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.485479Z DEBUG gateway::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-06-28T22:34:53.485492Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.485824Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.486229Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.486620Z 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-06-28T22:34:53.486669Z 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-06-28T22:34:53.486591Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.486892Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.486972Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487064Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487121Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487183Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487213Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487409Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42054, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487459Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42054, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.487983Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42054, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488030Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488049Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.488060Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.488188Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488231Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488246Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34720) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488717Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.488791Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.488978Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-type": "text/plain", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.489202Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.489590Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.489706Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.489871Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490090Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34730 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490201Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34730) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490227Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490382Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.490414Z DEBUG 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-06-28T22:34:53.490434Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490458Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490468Z DEBUG gateway::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-06-28T22:34:53.490480Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.490643Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.490866Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.490892Z 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-06-28T22:34:53.490905Z 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-06-28T22:34:53.491440Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.491969Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492175Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492235Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492276Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492313Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492356Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492555Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42070, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.492651Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42070, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.493230Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42070, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.493438Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.493637Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.493703Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.494009Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.494325Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.493892Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.494601Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-type": "text/plain", "content-length": "13", "x-custom": "unique", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.494817Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.494900Z 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-06-28T22:34:53.494961Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34730) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.495419Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.495517Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.495695Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.495835Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34742 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.496019Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34742) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.496071Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.496252Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.496316Z DEBUG 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-06-28T22:34:53.496354Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.496393Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.496427Z DEBUG gateway::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-06-28T22:34:53.496457Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.496793Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.497064Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.497519Z 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-06-28T22:34:53.497592Z 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-06-28T22:34:53.497487Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.497824Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.497903Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.497981Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498018Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498049Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498072Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498111Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42080, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498169Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42080, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498414Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42080, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498451Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.498471Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.498482Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.498984Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.499323Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.499503Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.499720Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.499463Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.499829Z 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-06-28T22:34:53.499881Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34742) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500306Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500406Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500562Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500715Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34754 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500906Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34754) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.500933Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.501069Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.501099Z DEBUG 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-06-28T22:34:53.501119Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.501152Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.501161Z DEBUG gateway::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-06-28T22:34:53.501174Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.501477Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.501891Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.502261Z 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-06-28T22:34:53.502313Z 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-06-28T22:34:53.502232Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.502550Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502656Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502692Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502707Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502719Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502739Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502772Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42092, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.502805Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42092, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.503041Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42092, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.503073Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.503090Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.503099Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.503665Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.504004Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.504208Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.504426Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.504167Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.504556Z 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-06-28T22:34:53.504641Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34754) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505093Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505219Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505346Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505544Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34760 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505666Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34760) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505718Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505868Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.505902Z DEBUG 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-06-28T22:34:53.505922Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505947Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.505956Z DEBUG gateway::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-06-28T22:34:53.505969Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.506288Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.506771Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.507121Z 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-06-28T22:34:53.507179Z 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-06-28T22:34:53.507089Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.507397Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507503Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507542Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507559Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507592Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507615Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507802Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42094, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.507884Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42094, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508146Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42094, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508184Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508201Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.508210Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.508319Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508360Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508373Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34760) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.508944Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.508788Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.509210Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-length": "13", "content-type": "text/plain", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.509431Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.509818Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.509926Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510071Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510298Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34772 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510455Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34772) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510508Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510699Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.510737Z DEBUG 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-06-28T22:34:53.510758Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510781Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.510789Z DEBUG gateway::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-06-28T22:34:53.510802Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.510951Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.515776Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.515904Z 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-06-28T22:34:53.516375Z 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-06-28T22:34:53.516323Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.516705Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516802Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516846Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516862Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516876Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516899Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516937Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42110, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.516973Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42110, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.517789Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42110, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.517989Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.518070Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.518086Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.518221Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.518265Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.518278Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34772) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.518535Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.518792Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.519002Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.519233Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.519643Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.519721Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.519847Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520061Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34788 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520177Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34788) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520280Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520475Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.520544Z DEBUG 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-06-28T22:34:53.520589Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520619Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.520630Z DEBUG gateway::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-06-28T22:34:53.520644Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.520802Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.521031Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.521055Z 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-06-28T22:34:53.521069Z 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-06-28T22:34:53.521777Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.521999Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522079Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522141Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522203Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522251Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522313Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522505Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42112, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.522616Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42112, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523025Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42112, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523072Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523091Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.523100Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.523224Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523266Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523281Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34788) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523651Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.523905Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.524109Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.524334Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.524734Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.524808Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.524930Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525249Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34800 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525362Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34800) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525411Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525597Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.525668Z DEBUG 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-06-28T22:34:53.525711Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525744Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.525755Z DEBUG gateway::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-06-28T22:34:53.525769Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.526092Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.526370Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.526399Z 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-06-28T22:34:53.526411Z 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-06-28T22:34:53.526853Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.527078Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527161Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527198Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527213Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527226Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527246Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527437Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42122, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527522Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42122, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527801Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42122, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527839Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.527856Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.527866Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.527979Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.528020Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.528032Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34800) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.528616Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.528679Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "x-custom": "unique", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.528453Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.529151Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.529584Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.529728Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.529897Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530152Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34802 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530263Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34802) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530292Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530444Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.530476Z DEBUG 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-06-28T22:34:53.530497Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530522Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.530531Z DEBUG gateway::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-06-28T22:34:53.530544Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.530875Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.531179Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.531633Z 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-06-28T22:34:53.531688Z 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-06-28T22:34:53.531599Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.531920Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.531997Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532035Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532050Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532062Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532081Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532113Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42136, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532157Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42136, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532402Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42136, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532439Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.532457Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.532466Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.532871Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.533385Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.533456Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-type": "text/plain", "content-length": "13", "x-custom": "unique"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.533660Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.534032Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534267Z 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-06-28T22:34:53.534194Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534399Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534516Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534679Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34802) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534869Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34814 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.534978Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34814) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.535023Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.535195Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.535271Z DEBUG 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-06-28T22:34:53.535300Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.535326Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.535336Z DEBUG gateway::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-06-28T22:34:53.535347Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.535669Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536068Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.536099Z 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-06-28T22:34:53.536113Z 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-06-28T22:34:53.536433Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.536683Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536764Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536801Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536818Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536832Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.536851Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537053Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42146, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537102Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42146, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537344Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42146, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537379Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537395Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.537404Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.537508Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537542Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537553Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34814) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.537952Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.538180Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.538368Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.538565Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.538936Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539043Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539193Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539404Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34818 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539504Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34818) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539530Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539694Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.539726Z DEBUG 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-06-28T22:34:53.539746Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539770Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.539779Z DEBUG gateway::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-06-28T22:34:53.539791Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.540088Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.540363Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.540799Z 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-06-28T22:34:53.540848Z 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-06-28T22:34:53.540767Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.541065Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541155Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541191Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541207Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541220Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541241Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541272Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42150, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541307Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42150, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541533Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42150, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541587Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.541608Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.541618Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.542203Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.542558Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.542845Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.543026Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.542803Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.543431Z 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-06-28T22:34:53.543531Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34818) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.543781Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.543886Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544008Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544208Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34828 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544303Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34828) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544351Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544496Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.544526Z DEBUG 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-06-28T22:34:53.544547Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544592Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.544604Z DEBUG gateway::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-06-28T22:34:53.544618Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.544945Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.545352Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.545722Z 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-06-28T22:34:53.545775Z 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-06-28T22:34:53.545690Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.545994Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546041Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546068Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546082Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546094Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546112Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546153Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42158, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546187Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42158, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546417Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42158, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546448Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.546464Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.546473Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.547005Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.547267Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.547350Z 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-06-28T22:34:53.547399Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34828) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.548073Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.548109Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.548295Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.548716Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.548978Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.549321Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34844 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.549416Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.549755Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34844) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.549837Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.550054Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.550090Z DEBUG 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-06-28T22:34:53.550112Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.550149Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.550159Z DEBUG gateway::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-06-28T22:34:53.550173Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.550779Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.551257Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.551628Z 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-06-28T22:34:53.551862Z 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-06-28T22:34:53.551826Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.552146Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552232Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552272Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552289Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552302Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552322Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552357Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42172, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552394Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42172, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552649Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42172, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552682Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.552699Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.552708Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.553267Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.553619Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.553806Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"content-length": "13", "content-type": "text/plain", "connection": "close", "x-custom": "unique", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.553769Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.553926Z 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-06-28T22:34:53.554173Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34844) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.554124Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.554623Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.554728Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.554927Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34858 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555087Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34858) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555108Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555010Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555404Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.555441Z DEBUG 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-06-28T22:34:53.555461Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555484Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.555492Z DEBUG gateway::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-06-28T22:34:53.555505Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.555825Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.556323Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.556686Z 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-06-28T22:34:53.556705Z 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-06-28T22:34:53.556655Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.556950Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557001Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557029Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557045Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557059Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557080Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557112Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42178, peer: 127.0.0.1:38967, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557160Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42178, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557394Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42178, peer: 127.0.0.1:38967, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557429Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.557446Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.557456Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.557987Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.558318Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.558505Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.558466Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.558825Z 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-06-28T22:34:53.558886Z  WARN gateway::gateway::entrypoint::service: Failed to write response: Broken pipe (os error 32), ip: Some(127.0.0.1:34858) [INFO] [stdout] at src/gateway/entrypoint/service.rs:95 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.558954Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.559365Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.559648Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.559827Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560036Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34868 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560102Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34868) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560122Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560273Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.560306Z DEBUG 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-06-28T22:34:53.560325Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560349Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.560358Z DEBUG gateway::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-06-28T22:34:53.560369Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.560704Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561111Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.561482Z 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-06-28T22:34:53.561534Z 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-06-28T22:34:53.561450Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.561788Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561893Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561929Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561945Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561958Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.561978Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562179Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42190, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562262Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42190, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562509Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42190, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562547Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562565Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.562595Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.562700Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562737Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.562748Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34868) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.563374Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.563839Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.563913Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close", "content-length": "13", "x-custom": "unique", "content-type": "text/plain"}, version: None, has_trailers: false, trailers_sender: Some(Sender { .. }), trailers_receiver: Some(Receiver { .. }), upgrade_sender: Some(Sender { .. }), upgrade_receiver: Some(Receiver { .. }), has_upgrade: false, body: Body { reader: "", length: None, bytes_read: 0 }, ext: Extensions, local_addr: None, peer_addr: None } }) [INFO] [stdout] at tests/empty_server.rs:31 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.564127Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.564509Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.564607Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.564754Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.564970Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34880 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565043Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34880) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565065Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565233Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.565267Z DEBUG 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-06-28T22:34:53.565287Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565312Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565322Z DEBUG gateway::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-06-28T22:34:53.565335Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.565492Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.565776Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.565801Z 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-06-28T22:34:53.565815Z 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-06-28T22:34:53.566339Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.566559Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.566770Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.566834Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.566857Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.566873Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.566893Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.567096Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42196, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.567155Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42196, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.567763Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42196, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.567839Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.567858Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.567868Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.567980Z DEBUG entrypoint: 4 - wrote response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:119 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.568018Z DEBUG entrypoint: 5 - finishing, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:122 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.568030Z  INFO gateway::gateway::entrypoint::service: Connection closed, ip: Some(127.0.0.1:34880) [INFO] [stdout] at src/gateway/entrypoint/service.rs:85 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.568534Z  INFO surf::middleware::logger::native: request completed [INFO] [stdout] at /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-06-28T22:34:53.568586Z DEBUG empty_server::tests: Ok(Response { response: Response { status: Ok, headers: {"x-custom": "unique", "connection": "close", "content-length": "13", "content-type": "text/plain", "date": "Sat, 28 Jun 2025 22:34:53 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-06-28T22:34:53.568381Z DEBUG isahc::handler: Closing connection [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.568997Z  INFO surf::middleware::logger::native: sending request [INFO] [stdout] at /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-06-28T22:34:53.569330Z DEBUG isahc::handler: Hostname 127.0.0.1 was found in DNS cache [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569397Z DEBUG isahc::handler:  Trying 127.0.0.1:33855... [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569518Z DEBUG isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 33855 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/isahc-0.9.14/src/handler.rs:612 [INFO] [stdout] in isahc::handler::handler with id: 0 [INFO] [stdout] in isahc::client::send_async with method: GET, uri: http://127.0.0.1:33855/hello [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569758Z DEBUG gateway::http::server: Accepted connection from: 127.0.0.1:34882 [INFO] [stdout] at src/http/server.rs:32 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569829Z  INFO gateway::gateway::entrypoint::tcp::handler: Connection received, ip: Some(127.0.0.1:34882) [INFO] [stdout] at src/gateway/entrypoint/tcp/handler.rs:24 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569849Z DEBUG entrypoint: 0 - init, stage: "request" [INFO] [stdout] at src/gateway/entrypoint/service.rs:102 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.569998Z DEBUG entrypoint: 1 - parsed request header, stage: "request", data: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"host": "app", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "user-agent": "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-06-28T22:34:53.570029Z DEBUG 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-06-28T22:34:53.570047Z DEBUG gateway::gateway::entrypoint::service: App ID: app [INFO] [stdout] at src/gateway/entrypoint/service.rs:150 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.570070Z DEBUG gateway::gateway::entrypoint::service: Endpoint ID: 0 [INFO] [stdout] at src/gateway/entrypoint/service.rs:170 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.570079Z DEBUG gateway::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-06-28T22:34:53.570091Z DEBUG gateway::gateway::entrypoint::service: -->, origin: "gateway::gateway::origin::tcp::origin::Origin", request: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, 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-06-28T22:34:53.570412Z DEBUG gateway::gateway::origin::tcp::origin: Connected to origin [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:36 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.570824Z DEBUG gateway::gateway::origin::tcp::origin: Request sent to origin: Request { method: GET, path: "/hello", version: "HTTP/1.1", headers: {"content-length": "0", "accept": "*/*", "accept-encoding": "deflate, gzip, br, zstd", "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-06-28T22:34:53.570850Z 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-06-28T22:34:53.570863Z 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-06-28T22:34:53.571227Z DEBUG wiremock::mock_set: Handling request. [INFO] [stdout] 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-06-28T22:34:53.571513Z DEBUG gateway::gateway::origin::tcp::origin: Origin response received [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:64 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571589Z DEBUG gateway::http::headers: Parsing header, header: "x-custom: unique" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571621Z DEBUG gateway::http::headers: Parsing header, header: "content-type: text/plain" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571639Z DEBUG gateway::http::headers: Parsing header, header: "content-length: 13" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571653Z DEBUG gateway::http::headers: Parsing header, header: "date: Sat, 28 Jun 2025 22:34:53 GMT" [INFO] [stdout] at src/http/headers.rs:90 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571673Z DEBUG gateway::gateway::origin::tcp::origin: Response received from origin: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: None } [INFO] [stdout] at src/gateway/origin/tcp/origin.rs:69 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571844Z DEBUG gateway::gateway::entrypoint::service: <--, origin: "gateway::gateway::origin::tcp::origin::Origin", response: Ok(Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42204, fd: 8 }) } } }) }) [INFO] [stdout] at src/gateway/entrypoint/service.rs:72 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.571894Z DEBUG entrypoint: 3 - writing response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42204, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:111 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.572154Z DEBUG entrypoint: 3 - wrote response, stage: "response", data: Response { version: "HTTP/1.1", status: 200, headers: {"x-custom": "unique", "content-type": "text/plain", "content-length": "13", "date": "Sat, 28 Jun 2025 22:34:53 GMT", "connection": "close"}, body: Some(OriginResponse { remains: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], reader: OwnedReadHalf { inner: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:42204, fd: 8 }) } } }) } [INFO] [stdout] at src/gateway/entrypoint/service.rs:113 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.572193Z DEBUG entrypoint: 4 - writing response body, stage: "response" [INFO] [stdout] at src/gateway/entrypoint/service.rs:117 [INFO] [stdout] [INFO] [stdout] 2025-06-28T22:34:53.572211Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [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-06-28T22:34:53.572223Z DEBUG io::copy::tcp::linux: copying tcp stream using splice [WARN] too many lines in the log, truncating it