Skip to content
  • Harshavardhana's avatar
    do not flush if Write() failed (#13597) · fb268add
    Harshavardhana authored
    - Go might reset the internal http.ResponseWriter() to `nil`
      after Write() failure if the go-routine has returned, do not
      flush() such scenarios and avoid spurious flushes() as
      returning handlers always flush.
    - fix some racy tests with the console 
    - avoid ticker leaks in certain situations
    fb268add