Changes between Version 1 and Version 2 of Ticket #20348, comment 60


Ignore:
Timestamp:
Jan 21, 2017, 5:55:23 PM (3 years ago)
Author:
dcf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20348, comment 60

    v1 v2  
     1It's time for cypherpunk's kludges, on Write to do something like:
     2
     3{{{
     4        if conn.isServer && conn.num_frame < 7 {
     5                iatDelay := time.Duration(10) + time.Duration(conn.iatDist.Sample())
     6                time.Sleep(iatDelay * time.Millisecond)
     7                conn.num_frame++
     8        }
     9}}}
     10
     11Any ideas?