Skip to content

httpx hangs indefinitely when websocket is encountered #2517

@meme-lord

Description

@meme-lord

httpx version: v1.9.0

Current Behavior:

httpx -u http://cediplast.myqnapcloud.com:8085 -stats -v

This command runs indefinitely. Timeouts are not respected

Expected Behavior:

Httpx should end the connection at some point and report that the server is live

Anything else:

Server response from curl:

> GET / HTTP/1.1
> Host: cediplast.myqnapcloud.com:8085
> User-Agent: curl/8.20.0
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 101 Switching Protocols
< Server: SBS
< Upgrade: websocket
< Connection: Upgrade
< Sec-WebSocket-Accept: 5eDZZbOR6sddfLJc+jA8+DMLXS8=
< Sec-WebSocket-Version: 13

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions