-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add TLSAcceptor and Builder #186
Conversation
a019e6b
to
3881c3b
Compare
Sorry I didn't saw that the tests failed :) fixed it |
3881c3b
to
c531d8e
Compare
idk why but I can't reproduce the failure locally :( but I think I found the reason |
I'm stumped, the CI errors with:
the AddrIncoming requires just the |
This is what happens locally for me and I can't find the difference between my box and the CI
|
@djc when you have some time I could use a extra pairs of eyes since the errors in CI make no sense to me :( |
bf5ece1
to
aef7d01
Compare
I may or may not have solved the CI issue, I made a feature flag for the server as it pulls in additional (sub) dependencies otherwise and I wanted to avoid that as default |
aef7d01
to
df38522
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, and sorry for the slow follow-up!
Would be great to get this over the finish line.
(Note, this also needs a rebase.)
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Should be all done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, a few more thoughts, shaping up nicely though!
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Okay second try, should be all done now :D |
The failing tests is why this existed. Are you OK with putting that code back? |
Yup -- sorry, forgot about that gotcha. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I'm familiar enough with the async ecosystem and Hyper in particular to give very meaningful feedback but I can surface a couple small nits :-)
Co-authored-by: Daniel McCarney <daniel@binaryparadox.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
I may have found an alternative by updating the required features for the example, in theory ™️ (aka on my local machine) it should now not build during unless the acceptor flag is present |
Nice, I was just looking for that this afternoon but couldn't quite find the documentation for it. |
I'm okay with adding it back, I guess. |
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Done, also added HTTP/1.0 support I think that's why windows / OS X were failing. |
Thanks for working through all that! |
Woooh :D thanks! |
TLSAcceptor, including a builder, also adds a
builder()
method to the Connector for convenience.