apiraino

Results 228 comments of apiraino

Maybe it's just a typo, the code sample tries to bind on `127.0.0.1:3030` while the log says it cannot bind to `127.0.0.1:8000`

The panic is [thrown here](https://github.com/seanmonstar/warp/blob/master/src/server.rs#L107). For the moment, one workaround could be adding a check if the files are actually where they should be; makes sense? edit: fixed my wrong...

@M-J-Hooper Hi, just a comment from a bystander. I like the use case of blacklisting some headers and rejecting the request (example: an old unsupported API). Could that be achieved...

Hope it's ok if I take the liberty of adding a bit of context on the discussion for those not on said platform: - **@_smallglitch**: `@seanmonstar` should we make the...

Tangential to this issue is probably worth mentioning a [Rust web development book](https://www.manning.com/books/rust-web-development) focused on Warp, recently published by https://github.com/gruberb

`.boxed()` routes will only take us this far and seems to push the problem away for a while. Another workaround is increasing the [minimum stack size](https://github.com/rust-lang/rust/issues/93908#issuecomment-1036267256). @Onefox just my .2...

`.deb` packages can be generated by using [cargo deb](https://github.com/mmstick/cargo-deb) and adding some configuration in the `Cargo.toml`. [deb-packaging.patch.gz](https://github.com/ogham/dog/files/5529501/deb-packaging.patch.gz) edit: added a patch as a starting point (not tested). Run with `cargo...

Closing MCP (reason: probably not useful to have this)

@rustbot label -final-comment-period +major-change-accepted (I think this was meant to be closed long ago)

Closing MCP (reason: superseded by a `T-lang` initiative, as mentioned on the [Zulip stream](https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Add.20.60.23.5Balias.5D.60.20attribute.20to.20allow.20symbol.20.E2.80.A6.20compiler-team.23526)), see [MCP process](https://forge.rust-lang.org/compiler/mcp.html#when-should-major-change-proposals-be-closed) for closing MCPs.