walkor / walkor/workerman

revolt事件循环,AsyncTcpConnection报错

Open
#845 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
11.6k
Forks
2.2k
Avg merge
11h 30m
Merged PRs (30d)
3

Description

尝试了一下revolt,非常好用!!

我使用AsyncTcpConnection时报错,windows兼容的问题:

https://github.com/walkor/workerman/blob/97c3d43ff0327e4f1636bccf65d0c07d3bb947c7/src/Connection/AsyncTcpConnection.php#L217

https://github.com/walkor/workerman/blob/97c3d43ff0327e4f1636bccf65d0c07d3bb947c7/src/Connection/AsyncTcpConnection.php#L300

我临时在`Workerman\Events\Revolt.php`增加了这两个方法屏蔽错误的,目前测试没有问题。
```php
public function onExcept($stream, $func)
{
}

function offExcept($stream)
{
return $this->offWritable($stream);
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.