Fix a NPE, Http20Draft12 requires non-null debugData for FrameWriter.goAway().

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=74143304
This commit is contained in:
simonma 2014-08-26 10:58:45 -07:00 committed by Eric Anderson
parent 070e308763
commit b645b38a6a
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class OkHttpClientTransport extends AbstractClientTransport {
abort(new Status(Code.INTERNAL, "Transport stopped"));
// Send GOAWAY with lastGoodStreamId of 0, since we don't expect any server-initiated streams.
// The GOAWAY is part of graceful shutdown.
frameWriter.goAway(0, ErrorCode.NO_ERROR, null);
frameWriter.goAway(0, ErrorCode.NO_ERROR, new byte[0]);
}
stopIfNecessary();
}