GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Analysis::Listener::HTTP(3) User Contributed Perl Documentation Net::Analysis::Listener::HTTP(3)

Net::Analysis::Listener::HTTP - an HTTP listener

Listens for: tcp_session_start tcp_session_end tcp_monologue

Emits: http_transaction

 v - verbosity. If >0, print out sample one-line summary for each transaction

Marries together two <tcp_monologues> that correspond to a HTTP request and response. The event will contain the following arguments:

 socketpair_key - uniquely identifies the TCP session
 req            - HTTP::Request object
 resp           - HTTP::Response object
 t_start        - Net::Analysis::Time object, start of xaction
 t_end          - Net::Analysis::Time object, end of xaction
 t_elapsed      - Net::Analysis::Time object, duration of xaction
 req_mono       - Net::Analysis::TCPMonologue object for the request
 resp_mono      - Net::Analysis::TCPMonologue object for the response

If you need packet level info, you can dig it out of the TCPMonologue objects.

Note that this particular module does not currently support HTTP pipelining; it expects requests/responses to correspond to back-and-forth monologues. Look at the Net::Analysis::Listener::HTTPPipelining for an alpha implementation of handling pipelined HTTP.

Net::Analysis::Listener::Base, Net::Analysis::Listener::HTTPPipelining.

Adam B. Worrall, <worrall@cpan.org>

Copyright (C) 2004 by Adam B. Worrall

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

2010-04-10 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.