-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated to XHTTP "stream-one" mode.
- Loading branch information
Showing
10 changed files
with
40 additions
and
1,216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ae62a0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大神,HTTP 传输删除,按照介绍由 XHTTP 传输 stream-one 模式兼容,但按照如下转换不成功,不知那里有错?
服务端 HTTP 传输方式:
服务端 XHTTP 传输方式:
ae62a0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lxhao61
xPaddingBytes
设为数字 -1 试试ae62a0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是这个问题,看了下代码对 "-1" 的解析正常,但是 XHTTP 会把
/yourpath
解析成/yourpath/
,所以 HTTP 的 path 需要以/
结尾然后我测试了一下是可以兼容的,并且我想了很久,最终决定不修改 XHTTP 的上述行为,而是在 #4071 #4113 中补充说明