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

Large message #74

Open
spider13software opened this issue Oct 13, 2015 · 3 comments
Open

Large message #74

spider13software opened this issue Oct 13, 2015 · 3 comments

Comments

@spider13software
Copy link

The server hangs when transferring a large message(more than 1391 bytes)
PHP 5.3.3

@Alarmfifa
Copy link
Contributor

I transferred a string(6291456) and it worked =)
What kind of data did you transfer? From browser or from php script?

@spider13software
Copy link
Author

From browser and from another application.

@Alarmfifa
Copy link
Contributor

@spider13software Today I've got a server hang in the process of socket reading.
It may be related with your issue.
Could you try to open this file and replace a string on these ones:

                if ($length > $metadata['unread_bytes']) {
                    $length = $metadata['unread_bytes'];
                    stream_set_blocking ($this->socket,false);
                }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants