8000 [MonologBridge] Fix the Monlog ServerLogHandler from Hanging on Windows by ChadSikorra · Pull Request #22787 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[MonologBridge] Fix the Monlog ServerLogHandler from Hanging on Windows #22787

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

Closed
wants to merge 2 commits into from

Conversation

ChadSikorra
Copy link
Contributor
Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? -
Fixed tickets #22712
License MIT

This resolves the issue discussed in #22712. This works on both Windows and Linux. Specifically it removes the additional hanging that was caused on Windows when attempting to write/close a TCP socket that's not open on the other end in asynchronous mode.

@ChadSikorra ChadSikorra changed the title Avoid timeouts when sending server log data via TCP. Fix the Monlog ServerLogHandler from Hanging on Windows May 19, 2017
@ChadSikorra ChadSikorra changed the title Fix the Monlog ServerLogHandler from Hanging on Windows [MonologBridge] Fix the Monlog ServerLogHandler from Hanging on Windows May 19, 2017
@xabbuh xabbuh added this to the 3.3 milestone May 20, 2017
@fabpot
Copy link
Member
fabpot commented May 20, 2017

Thank you @ChadSikorra.

fabpot added a commit that referenced this pull request May 20, 2017
…ng on Windows (ChadSikorra)

This PR was squashed before being merged into the 3.3 branch (closes #22787).

Discussion
----------

[MonologBridge] Fix the Monlog ServerLogHandler from Hanging on Windows

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | -
| Fixed tickets | #22712
| License       | MIT

This resolves the issue discussed in #22712. This works on both Windows and Linux. Specifically it removes the additional hanging that was caused on Windows when attempting to write/close a TCP socket that's not open on the other end in asynchronous mode.

Commits
-------

be60aa4 [MonologBridge] Fix the Monlog ServerLogHandler from Hanging on Windows
@fabpot fabpot mentioned this pull request May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0