equal
deleted
inserted
replaced
412 return client2.client(); |
412 return client2.client(); |
413 } |
413 } |
414 |
414 |
415 // call these before assigning a request/stream to a connection |
415 // call these before assigning a request/stream to a connection |
416 // if false returned then a new Http2Connection is required |
416 // if false returned then a new Http2Connection is required |
417 // if true, the the stream may be assigned to this connection |
417 // if true, the stream may be assigned to this connection |
418 // for server push, if false returned, then the stream should be cancelled |
418 // for server push, if false returned, then the stream should be cancelled |
419 synchronized boolean reserveStream(boolean clientInitiated) throws IOException { |
419 synchronized boolean reserveStream(boolean clientInitiated) throws IOException { |
420 if (finalStream) { |
420 if (finalStream) { |
421 return false; |
421 return false; |
422 } |
422 } |