Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2022-10-12 20:21:58 +02:00
parent 557696653d
commit 01d07569a2
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ public class CustomRequestLogTest
{
try (Socket socket = new Socket("localhost", _serverConnector.getLocalPort()))
{
socket.setSoTimeout(10000);
socket.setTcpNoDelay(true);
OutputStream output = socket.getOutputStream();
output.write(request.getBytes(StandardCharsets.UTF_8));
output.flush();