Skip to content

Commit

Permalink
画中画窗口
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghongenpin committed Jan 10, 2024
1 parent b8accd4 commit 65c9ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/network/http/codec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ abstract class HttpCodec<T extends HttpMessage> implements Codec<T> {
//请求行
if (_state == State.readInitial) {
init();
if (data.readableBytes() < 128) {
var initialLine = _readInitialLine(data);
if (initialLine.isEmpty) {
return result;
}
var initialLine = _readInitialLine(data);
result.data = createMessage(initialLine);
_state = State.readHeader;
}
Expand Down

0 comments on commit 65c9ac6

Please sign in to comment.