Skip to content

Conversation

@richardpark-msft
Copy link
Member

This updates us to nhooyr.io/websocket v1.8.7 which removed the gin-gonic dependency, so we no longer have to hardcode a reference to it in our go.mod.

EventHubs appears to have a bug with both the older and newer websockets package where the underlying websocket returns an EOF error when closing. It appears the remote service is closing the connection immediately and not sending the second part of the "websocket close" handshake. Still under investigation, but checking in the updated dep and a test demonstrating it.

Partially fixes #16924

@richardpark-msft
Copy link
Member Author

/azp run go - azeventhubs

@richardpark-msft
Copy link
Member Author

/azp run go - azservicebus

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…ebus and eventhubs.

* Expanding the websockets descriptions and tests to go end-to-end. Prior tests weren't
  closing the connection and were hiding an error that was coming back from the
  underlying package.
* The examples also document how to use an HTTP proxy with websockets,
  which is a common combination.
* One of the tests also contains the necessary incantations to make it the entire
  websocket conversation wireshark-able.
@richardpark-msft
Copy link
Member Author

/azp run go - azeventhubs

@richardpark-msft
Copy link
Member Author

/azp run go - azservicebus

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@richardpark-msft richardpark-msft merged commit e2feee0 into Azure:main Mar 14, 2023
@richardpark-msft richardpark-msft deleted the sbeh-nhoory branch March 14, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[azservicebus] Update nhooyr/websocket once it moves to the next rev (test dep only)

2 participants