ws icon indicating copy to clipboard operation
ws copied to clipboard

Tiny WebSocket library for Go.

Results 23 ws issues
Sort by recently updated
recently updated
newest added

Should you add a max read limit to wsutil.ReadClientData, otherwise, it's hard to use it in production

Problem with client side of the library behind a corporate proxy. _HTTP_PROXY_, _HTTPS_PROXY_ and _NO_PROXY_ environment parameters ignored during connection. Definitely, it is possible to make self proxy-aware _Dialer_ implementation,...

Hi, why does conn.Write ignoring the number bytes written here https://github.com/gobwas/ws/blob/master/write.go#L95 ? It seems to me that there is no guarantee net.Conn will write all the byes in one write...

Under using chromedp package wich use that lib as dependency got panic in some cases with the follow stack trace ``` panic: wsutil: buffer grow leads to its reduce goroutine...

## client side: ```golang func startTest(c *gin.Context) { type Request struct { Cnt int Url string } req := new(Request) if err := c.ShouldBind(req); err != nil { c.JSON(http.StatusOK, gin.H{...

Hey guys, First of all, thank you for this package! Great job! This PR introduces ability for a client to follow redirects. Protocol wise, following redirects is [acceptable](https://tools.ietf.org/html/rfc6455#section-4.1). Previous behaviour...

Recently,I used go tool trace to test my project which uses ws v1.0.4.The log shows readData function triggers gc easily when creates "Reader". ``` runtime.mallocgc:1166 runtime.newobject:1177 github.com/gobwas/ws/wsutil.readData:250 github.com/gobwas/ws/wsutil.ReadData:88 github.com/gobwas/ws/wsutil.ReadClientData:97 ```...

I receive `EOF` error on `ws.Upgrade` during high load on a server. I took code from example and run ~2k concurrent connections to websocket server. Another thing is that I...