S
sonet
#!/usr/bin/perl
$|=1;
print "Content-Type: text/plain\r\n\r\n";
print `ldapsearch -b dc=abc,dc=edu -D cn=Manager,dc=abc,dc=edu -w abc -h
ldap.abc.edu -LLL "uid=*"`;
If i do this job in unix comand ,the stdout will continue output.
But if i do this job in cgi,the stdout will pause to output until the
ldapsearch complete.
And this process will cost about 10 mins.
How to control the cgi stdout buffer?
$|=1;
print "Content-Type: text/plain\r\n\r\n";
print `ldapsearch -b dc=abc,dc=edu -D cn=Manager,dc=abc,dc=edu -w abc -h
ldap.abc.edu -LLL "uid=*"`;
If i do this job in unix comand ,the stdout will continue output.
But if i do this job in cgi,the stdout will pause to output until the
ldapsearch complete.
And this process will cost about 10 mins.
How to control the cgi stdout buffer?