Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to deserializeBinary API #546

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

stanley-cheung
Copy link
Collaborator

No description provided.

@stanley-cheung stanley-cheung merged commit 15351a0 into grpc:master Apr 29, 2019
@stanley-cheung stanley-cheung deleted the changes-to-des-api branch April 29, 2019 06:00
loyalpartner pushed a commit to loyalpartner/grpc-web that referenced this pull request Sep 4, 2020
* 增加websocket超时发送ping,以适配nginx的websocket代理

* Update go/grpcweb/websocket_wrapper.go

Co-Authored-By: Johan Brandhorst <johan.brandhorst@gmail.com>

* Update go/grpcweb/websocket_wrapper.go

Co-Authored-By: Johan Brandhorst <johan.brandhorst@gmail.com>

* Update go/grpcweb/websocket_wrapper.go

Co-Authored-By: Johan Brandhorst <johan.brandhorst@gmail.com>

* 添加使能websocket超时ping函数,tickerCount增加互斥锁

* 调整互斥锁解锁位置

* 简单处理,使代码更易读

* 增加配置websocket发送ping的超时时间的功能

* 增加配置websocket发送ping的超时时间的功能

* 1.将wsConn.SetCloseHandler移到了EnablePing中;
2.使用timer.Reset()代替tickerCount计时与复位;
3.其他设置上的提示优化;

* 将timer改为ticker

* use logrus.Infof to get string interpolation

* 使用第三方timer包实现精确的超时间隔发送Ping

* Update go/grpcweb/options.go

Co-Authored-By: Johan Brandhorst <johan.brandhorst@gmail.com>

* Update the document

* use godocdown to generate the latest documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant