Skip to content

Instantly share code, notes, and snippets.

@afresh1
Created January 20, 2016 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afresh1/1260320353a31c26699e to your computer and use it in GitHub Desktop.
Save afresh1/1260320353a31c26699e to your computer and use it in GitHub Desktop.
This simple program displays an issue with either slowcgi or httpd. It appears that the headers end after the first read instead of after the first blank line.
#!/usr/bin/perl
use strict;
use warnings;
$| = 1;
print "foo: bar\r\n" for 1 .. 15;
print "\r\n";
print "quux\r\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment