Skip to content

Instantly share code, notes, and snippets.

@afresh1
Created Jan 20, 2016
Embed
What would you like to do?
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