Skip to content

Conversation

@marandaneto
Copy link
Contributor

@marandaneto marandaneto commented Oct 12, 2020

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

fix: remove chunked streaming mode

💡 Motivation and Context

some http servers have limitations and this was experienced on on-premise v9.x
https://docs.oracle.com/javase/8/docs/api/java/net/HttpURLConnection.html#setChunkedStreamingMode-int-

reported by @ninniuz

💚 How did you test it?

running it

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

@marandaneto marandaneto requested a review from a team October 12, 2020 13:57
@codecov-io
Copy link

codecov-io commented Oct 12, 2020

Codecov Report

Merging #974 into main will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #974      +/-   ##
============================================
- Coverage     71.58%   71.57%   -0.01%     
  Complexity     1294     1294              
============================================
  Files           134      134              
  Lines          4726     4725       -1     
  Branches        489      489              
============================================
- Hits           3383     3382       -1     
  Misses         1087     1087              
  Partials        256      256              
Impacted Files Coverage Δ Complexity Δ
...c/main/java/io/sentry/transport/HttpTransport.java 81.01% <ø> (-0.12%) 35.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22003e8...f9e7b54. Read the comment docs.

@marandaneto
Copy link
Contributor Author

@bruno-garcia do you think this is worth to patch on v2? not every on-premise installs are able to do a server migration as well.

@bruno-garcia
Copy link
Member

@bruno-garcia do you think this is worth to patch on v2? not every on-premise installs are able to do a server migration as well.

Sounds like a good idea. Given that's a regression.

@bruno-garcia bruno-garcia merged commit 67669e1 into main Oct 14, 2020
@bruno-garcia bruno-garcia deleted the fix/chunked-mode branch October 14, 2020 02:25
marandaneto added a commit to getsentry/sentry-android that referenced this pull request Oct 14, 2020
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.

5 participants