Merge
This commit is contained in:
commit
dd8a3b1a34
@ -52,6 +52,9 @@ class Request {
|
|||||||
os = rawout;
|
os = rawout;
|
||||||
do {
|
do {
|
||||||
startLine = readLine();
|
startLine = readLine();
|
||||||
|
if (startLine == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
/* skip blank lines */
|
/* skip blank lines */
|
||||||
} while (startLine.equals (""));
|
} while (startLine.equals (""));
|
||||||
}
|
}
|
||||||
|
@ -441,6 +441,7 @@ class ServerImpl implements TimeSource {
|
|||||||
rawin = sslStreams.getInputStream();
|
rawin = sslStreams.getInputStream();
|
||||||
rawout = sslStreams.getOutputStream();
|
rawout = sslStreams.getOutputStream();
|
||||||
engine = sslStreams.getSSLEngine();
|
engine = sslStreams.getSSLEngine();
|
||||||
|
connection.sslStreams = sslStreams;
|
||||||
} else {
|
} else {
|
||||||
rawin = new BufferedInputStream(
|
rawin = new BufferedInputStream(
|
||||||
new Request.ReadStream (
|
new Request.ReadStream (
|
||||||
@ -450,6 +451,8 @@ class ServerImpl implements TimeSource {
|
|||||||
ServerImpl.this, chan
|
ServerImpl.this, chan
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
connection.raw = rawin;
|
||||||
|
connection.rawout = rawout;
|
||||||
}
|
}
|
||||||
Request req = new Request (rawin, rawout);
|
Request req = new Request (rawin, rawout);
|
||||||
requestLine = req.requestLine();
|
requestLine = req.requestLine();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user