annotate tests/cancel2.ur @ 2071:739172204214

Introduce recv timeout controlled by '-T' option in http.c This should prevent a DDoS attack where attacker and keeps the connection open but send no data.
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 02 Sep 2014 17:42:10 +0000
parents 125f9b01fbf1
children
rev   line source
adam@1724 1 fun f [r] [[Id, Foo] ~ r] (x : $(map (fn ts => $ts) r ++ [Id = int, Foo = string]))
adam@1724 2 : $(map (fn ts => $ts) r ++ [Foo = string]) = x
adam@1724 3
adam@1724 4 val r = {}
adam@1724 5 val x : $(map (fn ts => $ts) _ ++ [Foo = string]) = f r