Next refresh should show more results. ( run in 1.070 )
view release on metacpan or search on metacpan
lib/Apache/Cache.pm view on Meta::CPAN
C<default_lock_timeout> optional, integer
Number of second(s) to wait for locks used each time manipulating data in the shared memory.
Defaults to not waiting. This means a get() - for expample - on a temporary locked
key - certainely by another process - will return a FAILED status.
=back
Additionnaly, all Apache::SharedMem parameters are also customizable. See L<Apache::SharedMem>.
view all matches for this distribution
view release on metacpan or search on metacpan
bin/mysql/addreversezone.pl view on Meta::CPAN
print "needed to be a number\n";
$dbh->disconnect();
exit 1;
}
print "Do you want the SOA to be locked (n): ";
my $answer = <>;
chomp($answer);
my $lock = 0;
$lock = 1 if $answer =~ /^y$/i;
bin/mysql/addreversezone.pl view on Meta::CPAN
$dbh->disconnect();
sub rec_lock {
my $lock = 0;
print "Do you want this record to be locked (n): ";
my $answer = <>;
chomp($answer);
$lock = 1 if $answer =~ /^y$/i;
return $lock;
}
view all matches for this distribution
view release on metacpan or search on metacpan
- Rob Bloodgood and Damyan Ivanov complained about "uninitialized value" warnings from unused
HTTP headers, and about pack mode "c", which generated warnings on their systems (running -w).
I failed to reproduce the effect of pack mode, but decided to change the mode to "C"
because it has been reported as a clean solution for both Rob and Damyan from one side,
and this should not effect the packed code (as I understand it) from the other side.
"Uninitialized value" warnings were blocked in accordance with the patch provided by Rob Bloodgood.
All changes were manually double-checked with the patch provided by Damyan Ivanov.
- partial code revision has been done in order to prepare the further structural changes.
30927 Jul 20 01:09 Apache-Dynagzip-0.10.tar.gz
0.09 Sun Jan 05 01:45:00 2003
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/ForwardedFor.pm view on Meta::CPAN
By using either the B<PerlSetVar> or B<PerlAddVar> directive you can
list hosts for which we will only be allowing handling of Forwarded headers from.
That means if you put one host in this list then all non-listed hosts
will be blocked.
B<Netblocks> are not supported at this time - you must supply the
full IP address.
=head2 ForwardedForDeny
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/HTTunnel.pm view on Meta::CPAN
# that will be used byb the Apache children to communicate with the "keeper"
# process.
PerlSetVar HTTunnelFifo /var/lib/httunnel/httunnel.sock
# The maximum connect timeout that may be specified by the client. This value
# should be kept low (< 60) since that Apache children maybe be blocked up
# to that ammount of time.
# In seconds.
PerlSetVar HTTunnelMaxConnectTimeout 15
# The maximum read length that may be specified by the client.
# In bytes.
PerlSetVar HTTunnelMaxReadLength 131072
# The maximum read timeout that may be specified by the client. This value
# should be kept low (< 60) since that Apache children maybe be blocked up
# to that ammount of time.
# In seconds.
PerlSetVar HTTunnelMaxReadTimeout 15
# Connections that remain inactive after this amount of time will be closed.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/JumpByReferer.pm view on Meta::CPAN
http://malicious\.site\.example\.com/ http://goodbye.example.com/
http://another\.malicious\.site/ forbidden
http://ime\.nu/ forbidden
http://[^.]+\.google\.([^/]+)/ /hello_googler.html
http://[^.]+\.yahoo\.([^/]+)/ /do_you_yahoo/?
"Field blocked by" /do/not/block/the/field/
=head1 DESCRIPTION
Apache::JumpByReferer is an access phase handler of Apache + mod_perl.
You can block or let the user jump to another URL if the user was
view all matches for this distribution
view release on metacpan or search on metacpan
drivers may attempt to implement this method by executing
"C<select max($field) from $table>". Drivers using any approach
like this should issue a warning if C<AutoCommit> is true because
it is generally unsafe - another process may have modified the table
between your insert and the select. For situations where you know
it is safe, such as when you have locked the table, you can silence
the warning by passing C<Warn> => 0 in \%attr.
B<*> If no insert has been performed yet, or the last insert failed,
then the value is implementation defined.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SdnFw/db/install/pg.sql view on Meta::CPAN
login varchar(255) unique not null,
passwd varchar(32) not null,
name varchar(255) not null,
email varchar(255),
passwd_expire timestamp,
locked_out boolean,
remote_addr inet,
last_bad_pass date,
bad_pass_count int4,
cookie varchar(32) unique,
created_ts timestamp not null default now(),
lib/Apache/SdnFw/db/install/pg.sql view on Meta::CPAN
GRANT ALL ON employee_groups TO sdnfw;
CREATE INDEX employee_groups_employee_id ON employee_groups (employee_id);
CREATE INDEX employee_groups_group_id ON employee_groups (group_id);
CREATE VIEW employees_v_login (employee_id, login, cookie, passwd, name, email,
password_expired, locked_out, account_expired, groups, admin) AS
SELECT e.employee_id, e.login, e.cookie, e.passwd, e.name, e.email,
CASE WHEN passwd_expire < now() THEN TRUE ELSE NULL END as password_expired,
e.locked_out,
CASE WHEN expired_ts < now() THEN TRUE ELSE NULL END as account_expired,
concat(eg.group_id) as groups,
CASE WHEN count(g.admin) > 0 THEN TRUE ELSE NULL END as admin
FROM employees e
LEFT JOIN employee_groups eg ON e.employee_id=eg.employee_id
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Session/Counted.pm view on Meta::CPAN
}
"$dir/$file";
}
}
# Counted is locked by definition
sub release_all_locks {
return;
}
*get_lock_manager = \&release_all_locks;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Session/Lock/File.pm view on Meta::CPAN
Windows cannot escalate lock, so all locks will be exclusive.
release_read_lock not supported - it is not used by Apache::Session.
When deleting files, they are not locked (Win32 only).
=head1 AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SharedMem.pm view on Meta::CPAN
C<wait> optional
Defined the locking status of the request. If you must get the value, and can't continue without it, set
this argument to constant WAIT, unless you can set it to NOWAIT.
If the key is locked when you are tring to get the value, NOWAIT return status FAILURE, and WAIT hangup
until the value is unlocked. An alternative is to setup a WAIT timeout, see below.
NOTE: you needs :wait tag import:
use Apache::SharedMem qw(:wait)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Session/DBIBase64Store.pm view on Meta::CPAN
id CHAR(32) PRIMARY KEY,
length INT,
a_session TEXT,
created TIMESTAMP DEFAULT 'now()',
last_update TIMESTAMP DEFAULT 'now()'
locked_by INT
);
The previous SQL statement is valid for PostgreSQL. Adapt for your
specific DBMS.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/API/Status.pm view on Meta::CPAN
# Humour: April's fool
# <https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol>
418 => "I'm a teapot",
421 => "Misdirected Request",
422 => "Unprocessable entity!",
423 => "Resource locked!",
424 => "Failed dependency!",
425 => "Too early!",
426 => "Upgrade Required!",
428 => "Precondition Required",
429 => "Too many requests!",
lib/Apache2/API/Status.pm view on Meta::CPAN
414 => "request_uri_too_large",
415 => "unsupported_media_type",
416 => "range_not_satisfiable",
417 => "expectation_failed",
422 => "unprocessable_entity",
423 => "locked",
424 => "failed_dependency",
425 => "too_early",
426 => "upgrade_required",
429 => "too_many_requests",
431 => "request_header_fields_too_large",
lib/Apache2/API/Status.pm view on Meta::CPAN
=head2 HTTP_LOCKED (423)
See L<rfc 4918 on WebDAV|https://tools.ietf.org/html/rfc4918>
This is returned under the WebDav protocol when one tries to make change to a locked resource.
=head2 HTTP_FAILED_DEPENDENCY (424)
See L<rfc 4918 on WebDAV|https://tools.ietf.org/html/rfc4918>
lib/Apache2/API/Status.pm view on Meta::CPAN
This status code has been chosen on purpose, for its relation with the book L<Fahrenheit 451|https://en.wikipedia.org/wiki/Fahrenheit_451> from Ray Bradbury. In his book, the central theme is the censorship of literature. The book title itself "Fahre...
For example:
HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://example.org/legal>; rel="blocked-by"
Content-Type text/plain
Content-Length: 48
You are prohibited from accessing this resource.
view all matches for this distribution
view release on metacpan or search on metacpan
* First release
0.20 2023/01/03
* Fiddle with sqlite autocommit to possibly resolve a locked db issue
* Pass a copy of the cas attributes data structure to consumers so
they can't change the master session values
0.30 2024/11/15
view all matches for this distribution