Skip to content

Commit c3413f8

Browse files
author
何平
committed
http2 太难了 等作者实现吧
1 parent f615d5d commit c3413f8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cloud-admin/Http2/Parser/Request.php

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/**
2828
* 不准备支持cookie session.
2929
*/
30-
//todo 适配psr规范 PSR-7 PSR-15
3130
class Request
3231
{
3332
/**

cloud-admin/Http2/Server/Server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function start(): void
111111
$options = $this->sslConfig->toArray();
112112
}
113113
$this->onRequest = function (Request $request, Http2Connection $connection) {
114-
//todo 待适配 Swow的recvHttpRequest
114+
//http2太难了 ,等作者实现吧
115115
// $handler = $this->handler;
116116
// $handler($request, $connection->connection);
117117
return new Response(200, ['A' => 'hello world'], "<h1>hello h2!<h1>");

0 commit comments

Comments
 (0)