Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

ok Travis, smartass #98

Merged
merged 2 commits into from May 31, 2016
Merged

Conversation

ahjohannessen
Copy link
Contributor

Just me investigating why Travis is failing like a champ.

 - make ssl handshake remove negotation from handler pipe.
 - make tests in `ServerErrors` report more details when
   things fail.
sh.handshakeFuture().addListener(new GenericFutureListener[Future[Channel]] {
def operationComplete(future: Future[Channel]): Unit = {
// avoid negotiation when ssl fails
if(!future.isSuccess) { pipe.remove(negotiateCapable) }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is brittle and a bit like playing whack-a-mole. There has to be a more robust way to short-circuit.

@ahjohannessen
Copy link
Contributor Author

ConnectException happens frequently and that makes me think there is a bug/race around .start(...).run because we get connection refused just after having started a server and try to connect to it.

@timperrett
Copy link
Contributor

@ahjohannessen is this good to merge? travis passed it, but the comments suggest you're not entirely happy?

@ahjohannessen
Copy link
Contributor Author

@timperrett I would like to test it a bit better. Lately, I've been very busy with work and also been on vacation, but soon I'll put my focus on this again. I've seen some null pointer exceptions when putting client<->server under load and wish to identify root causes and fix that.

@ahjohannessen
Copy link
Contributor Author

Furthermore, it would be interesting to migrate to fs2 in a branch as soon it is ready for the real world :)

@timperrett
Copy link
Contributor

Sure, sounds good on both counts :-)

@ahjohannessen
Copy link
Contributor Author

Time to focus on this again, hopefully #109 can get in first.

@timperrett timperrett merged commit 813733b into Verizon:master May 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants