7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Well, it's not working out.... !
After spending over a year coding in C# and Unity 3D creating a new way to visualize cyberspace, I recently purchased a fully maxed out 12-core CPU MacPro with 64 GB of RAM so I could gain performance by utilizing the 12-cores (24 virtual cores) waiting for Unity... (1 Reply)
Discussion started by: Neo
1 Replies
2. What is on Your Mind?
I do have a question about the great cyber wall of certain countries, like the UK for example. For years I just fetched once a week a public podcast that recently answered "notukerror", by chance I read just this weekend on slashdot about this topic. Does this mean the efforts enhanced by the EME... (4 Replies)
Discussion started by: 1in10
4 Replies
3. SuSE
So I've been tasked with creating a shell script to run in a cron every few minutes to check duplex settings on my eth0 nic card. I would like for the server to send a wall message to whoever is on the console or in a terminal session. Below is what I have so far.
0,10,20,30,40,50 * * * * ... (1 Reply)
Discussion started by: lutador72
1 Replies
4. Shell Programming and Scripting
Hi all,
i'm trying to generate a "pop up window" incorporating either the write or wall command or both.
Is such a thing possible ?
thanks
simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies
5. UNIX for Dummies Questions & Answers
is there a command to send all terminals a message. i tired wall, but it only sends the message to who ever is logged in at a terminal. i need a command to send to every terminal no matter if someone is logged in or not.
Thanks!
-The DJ (11 Replies)
Discussion started by: djatwork
11 Replies
6. UNIX for Dummies Questions & Answers
let's say in my office i have 20 networked sun boxes named host1 through host20. i am currently logged in as root at some random machine, which we will say host13 for this scenario's sake. now, is there any way i can send a text message of some sort over the whole network to all logged in... (1 Reply)
Discussion started by: AMisledDrummer
1 Replies
7. UNIX for Dummies Questions & Answers
I would like to know when using the wall command can I send a message to a specific user that is logged in.
Thank you (1 Reply)
Discussion started by: nascar.fan
1 Replies
HTTP::Proxy::BodyFilter::complete(3pm) User Contributed Perl Documentation HTTP::Proxy::BodyFilter::complete(3pm)
NAME
HTTP::Proxy::BodyFilter::complete - A filter that passes on a complete body or nothing
SYNOPSIS
use HTTP::Proxy;
use HTTP::Proxy::BodyFilter::simple;
use HTTP::Proxy::BodyFilter::complete;
my $proxy = HTTP::Proxy->new;
# pass the complete response body to our filter (in one pass)
$proxy->push_filter(
mime => 'text/html',
response => HTTP::Proxy::BodyFilter::complete->new,
response => HTTP::Proxy::BodyFilter::simple->new(
sub {
my ( $self, $dataref, $message, $protocol, $buffer ) = @_;
# some complex processing that needs
# the whole response body
}
);
);
$proxy->start;
DESCRIPTION
The HTTP::Proxy::BodyFilter::complete filter will ensure that the next filter in the filter chain will only receive complete message bodies
(either request or response).
It will store the chunks of data as they arrive, only to pass the entire message body after the whole message has been received by the
proxy.
Subsequent filters is the chain will receive the whole body as a big piece of data.
CAVEAT EMPTOR
This consumes memory and time.
Use with caution, otherwise your client will timeout, or your proxy will run out of memory.
Also note that all filters after "complete" are still called when the proxy receives data: they just receive empty data. They will receive
the complete data when the filter chain is called for the very last time (the $buffer parameter is "undef"). (See the documentation of
HTTP::Proxy::BodyFilter for details about the $buffer parameter.)
METHOD
This filter defines two methods, called automatically:
filter()
Stores the incoming data in memory until the last moment and passes empty data to the subsequent filters in the chain. They will
receive the full body during the last round of filter calls.
will_modify()
This method returns a false value, thus indicating to the system that it will not modify data passing through.
AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>.
THANKS
Thanks to Simon Cozens and Merijn H. Brandt, who needed this almost at the same time. ";-)"
COPYRIGHT
Copyright 2004-2008, Philippe Bruhat.
LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.12.4 2011-07-03 HTTP::Proxy::BodyFilter::complete(3pm)