Skip to content

Conversation

@jianminzhao
Copy link
Contributor

  • CBL-7496: Better error message when Lite 4.0 talks to SGW 3.x

Starting in SGW 3.3.1, a request using "Sec-WebSocket-Protocol: BLIP_3+CBMobile_4" receives an HTTP 500 response with the message "I only speak BLIP_3+CBMobile_3,BLIP_3+CBMobile_2 protocols." This PR propagates that message into LiteCore's C4Error, improving the clarity of the logs. Ported from v4.1

* CBL-7496: Better error message when Lite 4.0 talks to SGW 3.x

Starting in SGW 3.3.1, a request using "Sec-WebSocket-Protocol: BLIP_3+CBMobile_4" receives an HTTP 500 response with the message "I only speak BLIP_3+CBMobile_3,BLIP_3+CBMobile_2 protocols."
This PR propagates that message into LiteCore's C4Error, improving the clarity of the logs.
Ported from v4.1
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.

2 participants