Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bidi attribute to change_type #44

Merged
merged 1 commit into from
Aug 6, 2013

Conversation

zhihuij
Copy link
Contributor

@zhihuij zhihuij commented Aug 6, 2013

when a non-bidi protocol used with a bidi protocol, if change_type doesn't change the bidi attribute of #state_rcv,
it may cause problems.

For the following config:

<change_type new_type="ts_websocket" host="127.0.0.1" port="8080" server_type="tcp" restore="true" store="true" />




...

right after the 'connect' request finished, if the server send some data to the client, it will cause the connection to be closed.

@zhihuij
Copy link
Contributor Author

zhihuij commented Aug 6, 2013

config is filtered out? add a gist for it:
https://gist.github.com/onlychoice/6165395

nniclausse added a commit that referenced this pull request Aug 6, 2013
add bidi attribute to change_type
@nniclausse nniclausse merged commit 908216a into processone:master Aug 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants