joshua655 / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

stdout does not flush #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
stdout does not flush so any protocol using stdin/stdout can stall indefinitely.

A simple solution is to add fflush(stdout); to v8cgi_CGI::writer();

Original issue reported on code.google.com by andy.bis...@gmail.com on 17 Oct 2011 at 9:42

GoogleCodeExporter commented 9 years ago
Oops! sorry I just found flush in the system namespace. Ignore.

Original comment by andy.bis...@gmail.com on 17 Oct 2011 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 17 Oct 2011 at 6:23