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

feat(server): add poll_peek to AddrStream #2127

Merged
merged 2 commits into from
Feb 17, 2020
Merged

feat(server): add poll_peek to AddrStream #2127

merged 2 commits into from
Feb 17, 2020

Conversation

daxpedda
Copy link
Contributor

This was specifically added to peek for the first byte to determine if the connection is HTTP or HTTPS.
I copied the documentation from tokio.

Add a link to poll_peek of TcpStream to AddrStream.
@daxpedda
Copy link
Contributor Author

Rebased and fixed the build.

src/server/tcp.rs Outdated Show resolved Hide resolved
@seanmonstar seanmonstar merged commit 24d53d3 into hyperium:master Feb 17, 2020
@seanmonstar
Copy link
Member

Thanks!

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