[svn:parrot] r37718 - trunk/examples/io

NotFound at svn.parrot.org NotFound at svn.parrot.org
Wed Mar 25 16:07:04 UTC 2009


Author: NotFound
Date: Wed Mar 25 16:07:04 2009
New Revision: 37718
URL: https://trac.parrot.org/parrot/changeset/37718

Log:
[examples] send "Connection: close" in http header

Modified:
   trunk/examples/io/httpd.pir

Modified: trunk/examples/io/httpd.pir
==============================================================================
--- trunk/examples/io/httpd.pir	Wed Mar 25 15:51:12 2009	(r37717)
+++ trunk/examples/io/httpd.pir	Wed Mar 25 16:07:04 2009	(r37718)
@@ -287,7 +287,8 @@
     rep = "HTTP/1.1 "
     rep .= code
     rep .= CRLF
-
+    rep .= "Connection: close"
+    rep .= CRLF
     ret = exists headers['Content-Length']
     if ret goto SKIP_CONTENT_LENGTH
     len = length body


More information about the parrot-commits mailing list