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

fix: ensure websocket conns respect max duration #156

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

mccutchen
Copy link
Owner

A quick follow up to improve the safety of the websocket implementation added in #155, before we expose it to the big bad internet.

Copy link

codecov bot commented Nov 30, 2023

Codecov Report

Merging #156 (29f6366) into main (1c61db6) will increase coverage by 0.32%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #156      +/-   ##
==========================================
+ Coverage   94.60%   94.93%   +0.32%     
==========================================
  Files           9        9              
  Lines        1927     1933       +6     
==========================================
+ Hits         1823     1835      +12     
+ Misses         71       67       -4     
+ Partials       33       31       -2     
Files Coverage Δ
httpbin/handlers.go 99.48% <100.00%> (+<0.01%) ⬆️
httpbin/websocket/websocket.go 77.51% <100.00%> (+2.43%) ⬆️

@mccutchen mccutchen merged commit e0324b1 into main Nov 30, 2023
8 checks passed
@mccutchen mccutchen deleted the ws-time-limits branch November 30, 2023 04:36
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.

1 participant