RE: conns debug only in http10.pm - why?
"Worenklein, David, GCM" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
I complained. Now, to debug, I have to step through the code and do a bunch of prints. And if I'm too slow, my connection times out. -----Original Message----- From: Gisle Aas [mailto:[email protected]] Sent: Friday, May 05, 2006 4:25 AM To: Peter Scott Cc: [email protected] Subject: Re: conns debug only in http10.pm - why? Peter Scott <[email protected]> writes: > On Thu, 04 May 2006 11:03:22 -0700, Gisle Aas wrote: > > Or just use Ethereal or a similar network sniffer program. That's > > what I currently use and the main reason I have not bothered with > > conns() calls for any recent code. They are not completely free for > > those that don't try to turn on this debugging either, so I would > > prefer to leave it like this. > > An extra subroutine call, hash lookup, and boolean comparison per read() > and write() is onerous? I think it is for a feature I never use and which none has complained about gone missing in the 5 years since the the HTTP/1.1 protocol module became the default. > The debug-conns interface is appealingly clean. Can we save it? I hope not :) --Gisle ----------------------------------------- ******************************************************************* * This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorized to retain, read, copy or disseminate this message or any part of it. ******************************************************************* *