request is already processed on threadpool

This commit is contained in:
Zlatin Balevsky
2019-05-24 17:49:04 +01:00
parent 0a5c5ad520
commit b308b4e91f

View File

@@ -174,7 +174,6 @@ class ConnectionAcceptor {
dis.readFully(ost)
if (ost != "OST ".getBytes(StandardCharsets.US_ASCII))
throw new IOException("Invalid POST connection")
handshakerThreads.execute({
JsonSlurper slurper = new JsonSlurper()
try {
byte uuid = new byte[36]
@@ -202,7 +201,6 @@ class ConnectionAcceptor {
} finally {
e.closeQuietly()
}
} as Runnable)
}
}