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

[9.x] Improves output capture from serve command #43461

Merged
merged 2 commits into from
Jul 28, 2022

Conversation

nunomaduro
Copy link
Member

This pull request handles the following edge case, where php artisan serve --host=nuno.francisco.localhost produces the following output by the PHP Built-in Server:

[Thu Jul 28 15:50:52 2022] [::1]:60815 Accepted
[Thu Jul 28 15:50:47 2022] [::1]:60815 Closing

Previously, the code was not ready for this case, causing an runtime exception. Now, we handle this properly.

@nunomaduro nunomaduro requested a review from taylorotwell July 28, 2022 14:52
@nunomaduro nunomaduro marked this pull request as ready for review July 28, 2022 17:03
@taylorotwell taylorotwell merged commit e7ac9b1 into 9.x Jul 28, 2022
@taylorotwell taylorotwell deleted the fix/serve-command-with-host branch July 28, 2022 19:14
Ken-vdE pushed a commit to Ken-vdE/framework that referenced this pull request Aug 9, 2022
* Improves output capture from `serve` command

* Update ServeCommand.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
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