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

Fix data corruption in JettyService #327

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

trustin
Copy link
Member

@trustin trustin commented Nov 7, 2016

Motivation:

When JettyService copies the output from Jetty to an HttpData, it has to
respect the position of the ByteBuffer provided by Jetty.

Modification:

  • Respect the position of the ByteBuffer provided by Jetty

Result:

No more data corruption in JettyService

Motivation:

When JettyService copies the output from Jetty to an HttpData, it has to
respect the position of the ByteBuffer provided by Jetty.

Modification:

- Respect the position of the ByteBuffer provided by Jetty

Result:

No more data corruption in JettyService
@trustin trustin added the defect label Nov 7, 2016
@trustin trustin added this to the 0.31.1.Final milestone Nov 7, 2016
@codecov-io
Copy link

codecov-io commented Nov 7, 2016

Current coverage is 64.55% (diff: 100%)

Merging #327 into master will increase coverage by 0.01%

@@             master       #327   diff @@
==========================================
  Files           318        318          
  Lines         12835      12835          
  Methods           0          0          
  Messages          0          0          
  Branches       1916       1916          
==========================================
+ Hits           8283       8285     +2   
+ Misses         3666       3665     -1   
+ Partials        886        885     -1   

Powered by Codecov. Last update 73e1bb0...61e9f9a

@inch772
Copy link
Contributor

inch772 commented Nov 8, 2016

LGTM!

@inch772 inch772 merged commit 5da32f0 into line:master Nov 8, 2016
@trustin trustin deleted the fix_jetty_data_corruption branch November 8, 2016 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants