mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-05-29 21:01:06 +00:00
http: split and sort use statements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
127dbe7c7d
commit
5cef57dee9
@ -9,43 +9,47 @@ package PVE::APIServer::AnyEvent;
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
|
|
||||||
use Socket qw(IPPROTO_TCP TCP_NODELAY SOMAXCONN);
|
use AnyEvent::HTTP;
|
||||||
use POSIX qw(strftime EINTR EAGAIN);
|
use AnyEvent::Handle;
|
||||||
use Fcntl;
|
use AnyEvent::IO;
|
||||||
use IO::File;
|
use AnyEvent::Socket;
|
||||||
use File::stat qw();
|
# use AnyEvent::Strict; # only use this for debugging
|
||||||
use File::Find;
|
use AnyEvent::TLS;
|
||||||
use MIME::Base64;
|
use AnyEvent::Util qw(guard fh_nonblocking WSAEWOULDBLOCK WSAEINPROGRESS);
|
||||||
|
|
||||||
|
use Compress::Zlib;
|
||||||
use Digest::MD5;
|
use Digest::MD5;
|
||||||
use Digest::SHA;
|
use Digest::SHA;
|
||||||
# use AnyEvent::Strict; # only use this for debugging
|
|
||||||
use AnyEvent::Util qw(guard fh_nonblocking WSAEWOULDBLOCK WSAEINPROGRESS);
|
|
||||||
use AnyEvent::Socket;
|
|
||||||
use AnyEvent::Handle;
|
|
||||||
use Net::SSLeay;
|
|
||||||
use AnyEvent::TLS;
|
|
||||||
use AnyEvent::IO;
|
|
||||||
use AnyEvent::HTTP;
|
|
||||||
use Fcntl ();
|
|
||||||
use Compress::Zlib;
|
|
||||||
use Encode;
|
use Encode;
|
||||||
use PVE::SafeSyslog;
|
use Fcntl ();
|
||||||
use PVE::INotify;
|
use Fcntl;
|
||||||
use PVE::Tools;
|
use File::Find;
|
||||||
use PVE::APIServer::Formatter;
|
use File::stat qw();
|
||||||
use PVE::APIServer::Utils;
|
use IO::File;
|
||||||
|
use MIME::Base64;
|
||||||
|
use Net::SSLeay;
|
||||||
|
use POSIX qw(strftime EINTR EAGAIN);
|
||||||
|
use Socket qw(IPPROTO_TCP TCP_NODELAY SOMAXCONN);
|
||||||
|
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
|
||||||
|
|
||||||
use Net::IP;
|
#use Data::Dumper; # FIXME: remove, just use: print to_json([$var], {pretty => 1}) ."\n";
|
||||||
use URI;
|
|
||||||
use URI::Escape;
|
|
||||||
use HTTP::Status qw(:constants);
|
|
||||||
use HTTP::Date;
|
use HTTP::Date;
|
||||||
use HTTP::Headers;
|
use HTTP::Headers;
|
||||||
use HTTP::Request;
|
use HTTP::Request;
|
||||||
use HTTP::Response;
|
use HTTP::Response;
|
||||||
use Data::Dumper;
|
use HTTP::Status qw(:constants);
|
||||||
use JSON;
|
use JSON;
|
||||||
|
use Net::IP;
|
||||||
|
use URI::Escape;
|
||||||
|
use URI;
|
||||||
|
|
||||||
|
use PVE::INotify;
|
||||||
|
use PVE::SafeSyslog;
|
||||||
|
use PVE::Tools;
|
||||||
|
|
||||||
|
use PVE::APIServer::Formatter;
|
||||||
|
use PVE::APIServer::Utils;
|
||||||
|
|
||||||
my $limit_max_headers = 64;
|
my $limit_max_headers = 64;
|
||||||
my $limit_max_header_size = 8*1024;
|
my $limit_max_header_size = 8*1024;
|
||||||
|
Loading…
Reference in New Issue
Block a user