Ivan Kozlovic
ca268290a6
Perform the check on accept, not in processing CONNECT
...
This will protect the server from non NATS clients (telnet, etc),
or misbehaving clients that would create the tcp connection but
block before sending the CONNECT.
The drawback is that the client may or may not receive the error
message (in my tests, it was getting only between 10%-20% of times).
2016-12-01 08:48:04 -07:00
..
2016-11-16 00:31:38 +02:00
2016-07-18 13:00:49 -06:00
2016-06-16 17:07:25 -07:00
2015-11-23 10:55:43 -07:00
2015-11-23 10:55:43 -07:00
2016-11-20 13:15:37 -08:00
2016-12-01 08:48:04 -07:00
2016-11-22 20:07:39 -08:00
2016-12-01 08:48:04 -07:00
2016-10-05 17:56:25 -06:00
2016-11-21 21:55:24 -08:00
2016-05-24 19:32:06 -06:00
2016-11-20 13:15:37 -08:00
2016-09-12 11:03:19 -04:00
2016-11-22 20:07:39 -08:00
2016-11-22 20:07:39 -08:00
2016-08-01 19:01:34 -06:00
2016-08-01 19:01:34 -06:00
2016-11-20 13:15:37 -08:00
2016-10-20 14:59:29 -06:00
2016-11-20 13:15:37 -08:00
2016-12-01 08:48:04 -07:00
2016-12-01 08:48:04 -07:00
2016-11-22 16:22:51 -07:00
2016-11-22 15:22:34 -07:00
2016-08-01 19:01:34 -06:00
2016-04-03 13:04:06 -07:00
2016-07-11 12:16:21 -07:00
2016-10-27 09:51:15 -06:00
2016-03-20 15:57:43 -10:00