Skip to content

Commit c717f06

Browse files
committed
- Fix test failure.
1 parent d56735f commit c717f06

File tree

1 file changed

+2
-1
lines changed
  • providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly

1 file changed

+2
-1
lines changed

providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly/Utils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public static void setSpdyConnection(final Connection c) {
8585
}
8686

8787
public static boolean isSpdyConnection(final Connection c) {
88-
return SPDY.get(c);
88+
Boolean result = SPDY.get(c);
89+
return (result != null ? result : false);
8990
}
9091
}

0 commit comments

Comments
 (0)