More merge fixes

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2019-08-27 16:19:07 +10:00
parent e05a14de24
commit d890748f3a
2 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ public class HttpTransportOverHTTP2 implements HttpTransport
stream.setAttachment(endPoint);
if (request.getHttpInput().hasContent())
return channel.sendErrorOrAbort("Unexpected content in CONNECT request");
return true;
return false;
}
@Override

View File

@ -736,7 +736,7 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
* <p>This avoids a race where the server is unprepared if the client sends
* data immediately after having received the upgrade response.</p>
* @return true if the channel is not complete and more processing is required,
* either because the upgrade has succeeded or sendError has been called.
* typically because sendError has been called.
*/
protected boolean checkAndPrepareUpgrade()
{