ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/Coro/myhttpd/httpd.pl
(Generate patch)

Comparing cvsroot/Coro/myhttpd/httpd.pl (file contents):
Revision 1.76 by root, Wed Jul 13 13:58:51 2005 UTC vs.
Revision 1.77 by root, Sat Sep 17 20:21:11 2005 UTC

139package conn; 139package conn;
140 140
141use Socket; 141use Socket;
142use HTTP::Date; 142use HTTP::Date;
143use Convert::Scalar 'weaken'; 143use Convert::Scalar 'weaken';
144use Linux::AIO; 144use IO::AIO;
145 145
146Linux::AIO::min_parallel $::AIO_PARALLEL; 146IO::AIO::min_parallel $::AIO_PARALLEL;
147 147
148Event->io(fd => Linux::AIO::poll_fileno, 148Event->io(fd => IO::AIO::poll_fileno,
149 poll => 'r', async => 1, 149 poll => 'r', async => 1,
150 cb => \&Linux::AIO::poll_cb); 150 cb => \&IO::AIO::poll_cb);
151 151
152our %conn; # $conn{ip}{self} => connobj 152our %conn; # $conn{ip}{self} => connobj
153our %uri; # $uri{ip}{uri}{self} 153our %uri; # $uri{ip}{uri}{self}
154our %blocked; 154our %blocked;
155our %mimetype; 155our %mimetype;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines