From a2395257964b600bcbf5b24e7dd1d44f78ffe028 Mon Sep 17 00:00:00 2001 From: Joseph Lawson Date: Mon, 17 Mar 2014 17:29:23 +0000 Subject: [PATCH] extended timeout to 1000 ms for a message --- raw_socket_listener/tcp_message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raw_socket_listener/tcp_message.go b/raw_socket_listener/tcp_message.go index 02ad03f1b..611927003 100644 --- a/raw_socket_listener/tcp_message.go +++ b/raw_socket_listener/tcp_message.go @@ -6,7 +6,7 @@ import ( "time" ) -const MSG_EXPIRE = 200 * time.Millisecond +const MSG_EXPIRE = 1000 * time.Millisecond // TCPMessage ensure that all TCP packets for given request is received, and processed in right sequence // Its needed because all TCP message can be fragmented or re-transmitted