header processing: add comments

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2023-03-07 10:41:41 +01:00
parent 14f39f121c
commit 4737252f60

View File

@ -1333,6 +1333,7 @@ sub unshift_read_header {
});
};
# sends an (error) response and returns 0 in case of errors
sub process_header {
my ($self, $reqstate) = @_;
@ -1385,6 +1386,8 @@ sub process_header {
return 1;
}
# sends an (redirect) response, disconnects the client and returns 0 if
# connection is not TLS-protected
sub ensure_tls_connection {
my ($self, $reqstate) = @_;