AnWeber / httpbook

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://httpyac.github.io/
MIT License
57 stars 4 forks source link

websocket run infinitely even server is dead #96

Closed exitNA closed 10 months ago

exitNA commented 10 months ago

hello: I start a ws request, but it has an error response, but doesn't stop. image

AnWeber commented 10 months ago

I did not take into account that an error can occur during the connection setup and the connection is closed directly. In this case the Promise was not resolved. With the next version of vscode-httpyac it is also corrected in httpbook.