Replies: 1 comment
-
我明明看到邮箱有个多线程的支持,怎么没有了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(purposed/v0.2.x上发生的事,也是未来的ci分支上会发生的事)
TL;DR
一波API重构:
Buffer
类取消内置偏移,这解决了许多问题HttpParser->execute()
: 现在它返回的是parsed长度而非事件了一些新功能:
Major API refactor:
Buffer
class, this solves many bugsHttpParser->execute()
: now it returns parsed length rather than eventsSomething New:
开发进展记录
修复
detectShouldKeepAlive()
检查 (Update mixed.php #132)增加 删除 修改
Http\Parser->getPreviousEvent()
Http\Parser->getPreviousEventName()
`Http\Parser::getEventNameFor(int $event)WebSocket::mask()
和WebSocket::unmask()
工具函数Socket->sendString()
, 现在可以用Socket->send()
WebSocket\Frame
, Websocket现在使用WebSocket\Header
类加自己的payloadHttpParser->execute()
: 现在它返回的是parsed长度而非事件了Errno::
getNameFor(int) => getNameOf(int)
getReasonPhraseFor(int) => getReasonPhraseOf(int)
getDescriptionFor(int) => getDescriptionOf(int)
(记录随时变更)
Fix
detectShouldKeepAlive()
check (Update mixed.php #132)Addition Removal Change
Http\Parser->getPreviousEvent()
Http\Parser->getPreviousEventName()
Http\Parser::getEventNameFor(int $event)
WebSocket::mask()
andWebSocket::unmask()
utilitySocket->sendString()
, useSocket->send()
insteadWebSocket\Frame
, useWebSocket\Header
class with payload insteadHttpParser->execute()
: now it returns parsed length rather than eventsErrno::
getNameFor(int) => getNameOf(int)
getReasonPhraseFor(int) => getReasonPhraseOf(int)
getDescriptionFor(int) => getDescriptionOf(int)
(this may change at anytime)
Beta Was this translation helpful? Give feedback.
All reactions