Repository navigation
Support renegotiation with sockets - #321
Conversation
|
@davidben FYI I've also added tests to the engine and it now supports renegotiation. Will address the engine-based socket in a follow-on PR. |
60e7407 to
f6d60dd
Compare
1d0a5bb to
6dc0669
Compare
|
@flooey mind taking a look? I'd like to get these fixes in for the next RC |
| server.await(5, TimeUnit.SECONDS); | ||
| repliesFuture.get(5, TimeUnit.SECONDS); | ||
|
|
||
| // BoringSSL will not call the verify callback on renegotiation, so the client will never |
There was a problem hiding this comment.
This seems like a problem. Won't our getters just be lying then? I don't know if there's any BoringSSL changes coming on this or anything, but having getCipherSuite() (and maybe others) returning values that are just untrue seems like a bad idea.
There was a problem hiding this comment.
@flooey this was actually due to the fact that we were caching the cipher in our ActiveSession. That seems to be the only potential caching issue, since BoringSSL won't let the other values change (peer cipher suite, etc.). This should b fixed now.
|
@flooey PTAL |
The cipher used in the benchmarks requires TLS 1.2.
Fixes #228
Fixes #310