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

Fixes #6693 - FastCGI review #6694

Merged
merged 4 commits into from Sep 7, 2021
Merged

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Sep 2, 2021

  • Removed code supporting multiplex in the client.
  • Removed code supporting multiplex in the server.
  • Reworked the server-side processing of a request, now more similar to HTTP/1.1.
  • Improved javadocs.

Signed-off-by: Simone Bordet simone.bordet@gmail.com

- Removed code supporting multiplex in the client.
- Removed code supporting multiplex in the server.
- Reworked the server-side processing of a request, now more similar to HTTP/1.1.
- Improved javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested review from gregw and lorban September 2, 2021 14:37
@sbordet sbordet added this to In progress in Jetty 10.0.7/11.0.7 FROZEN via automation Sep 2, 2021
@sbordet sbordet linked an issue Sep 2, 2021 that may be closed by this pull request
Fixed javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
lorban
lorban previously approved these changes Sep 3, 2021
Copy link
Contributor

@lorban lorban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few minor cleanups that could be done, but otherwise LGTM.

Jetty 10.0.7/11.0.7 FROZEN automation moved this from In progress to Reviewer approved Sep 3, 2021
Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from lorban September 3, 2021 16:40
Jetty 10.0.7/11.0.7 FROZEN automation moved this from Reviewer approved to Review in progress Sep 3, 2021
private final HttpFields.Mutable fields = HttpFields.build();
private final Dispatcher dispatcher;
private HttpInput.Content _specialContent;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other fields here are a bit of a mix of _ and no _. Can you correct them all to be consistent.

if (!hasContent())
return null;

HttpInput.Content content = _contentQueue.poll();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need a queue here? onContent now always returns true to ensure back pressure, so we should not get more than one content.
Also should we rename the action in the parse from ASYNC to IN_CONTENT?

Jetty 10.0.7/11.0.7 FROZEN automation moved this from Review in progress to Reviewer approved Sep 6, 2021
lorban
lorban previously approved these changes Sep 6, 2021
Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Jetty 10.0.7/11.0.7 FROZEN automation moved this from Reviewer approved to Review in progress Sep 6, 2021
@sbordet sbordet requested review from gregw and lorban September 6, 2021 15:47
@sbordet
Copy link
Contributor Author

sbordet commented Sep 6, 2021

@lorban @gregw please re-review.

Jetty 10.0.7/11.0.7 FROZEN automation moved this from Review in progress to Reviewer approved Sep 7, 2021
@sbordet sbordet merged commit 0bd15e0 into jetty-10.0.x Sep 7, 2021
Jetty 10.0.7/11.0.7 FROZEN automation moved this from Reviewer approved to Done Sep 7, 2021
@sbordet sbordet deleted the jetty-10.0.x-6693-fastcgi-review branch September 7, 2021 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

FastCGI review
3 participants