mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
81d8311995
commit
97dcd2ab1e
9 files changed
+154
-83
No files matched your search
@@ -56,20 +56,6 @@ class ProxyManager
|
||||
});
|
||||
}
|
||||
|
||||
private function parseResponse(string $response)
|
||||
{
|
||||
try {
|
||||
return gPsr\parse_response($response);
|
||||
} catch (\Throwable $e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private function parseRequest($data)
|
||||
{
|
||||
return gPsr\parse_request($data);
|
||||
}
|
||||
|
||||
protected function getContentLength($proxyConnection): ?int
|
||||
{
|
||||
$request = parse_request($proxyConnection->buffer);
|
||||
|
||||
Reference in new issue
Block a user