• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / 21690
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v1.74.x
DEFAULT BRANCH: master
Ran 18 Mar 2021 10:57PM CUT
Jobs 1
Files 429
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
21690

push

travis-ci

ejona86
netty: Add Http2Headers.setLong() for inbound headers

Starting in Netty 4.1.60, Netty will validate Content-Length headers
using getAll() and setLong(). While getAll() was documented as only used
in tests, it doesn't appear it was currently used in any tests.

While Http2NettyTest.contentLengthPermitted() was added to confirm that
Content-Length works, it won't actually exercise any interesting
behavior until we upgrade to Netty 4.1.60. However, I did test with
Netty 4.1.60 and it reproduced the failure in
https://github.com/grpc/grpc-java/issues/7953 and passed with this
change.

Since Netty is now observing/modifying the headers, it would seem
appropriate to implement a substantial portion of the Http2Headers API.
However, the surface is much larger than we'd want to implement for a
'quick fix' that could be backported. In addition, it seems much of the
API is just convenience methods, so it is probably appropriate to split
out a AbstractHeaders class from DefaultHeaders in Netty that doesn't
make any assumptions about the header storage mechanism.

25631 of 29258 relevant lines covered (87.6%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21690.1 (GRADLE_OPTS=-Xmx512m LDFLAGS=-L/tmp/protobuf/lib CXXFLAGS=-I/tmp/protobuf/include LD_LIBRARY_PATH=/tmp/protobuf/lib) 18 Mar 2021 10:57PM CUT 0
87.6
Travis Job 21690.1
Source Files on build 21690
  • Tree
  • List 429
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
...ces/src/main/java/io/grpc/services/BinaryLogs.java53 3 0 3 0.0
0.0
...nternalWriteBufferingAndExceptionHandlerUtils.java35 3 0 3 0.0
0.0
...o/grpc/grpclb/InternalGrpclbConstantsAccessor.java41 2 0 2 0.0
0.0
...java/io/grpc/netty/InternalNettySocketSupport.java46 4 0 4 0.0
0.0
...api/src/main/java/io/grpc/InternalCallOptions.java32 1 0 1 0.0
0.0
...java/io/grpc/internal/MigratingThreadDeframer.java317 137 0 137 0.0
0.0
.../grpclb/src/main/java/io/grpc/grpclb/DropType.java25 3 0 3 0.0
0.0
.../main/java/io/grpc/internal/AtomicLongCounter.java42 6 0 6 0.0
0.0
...rpc/netty/InsecureFromHttp1ChannelCredentials.java31 1 0 1 0.0
0.0
...rc/main/java/io/grpc/stub/InternalClientCalls.java66 15 0 15 0.0
Showing 1 to 10 of 429 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 43
  • Next
  • ►
    87.6
    ../
  • Back to Repo
  • Travis Build #21690
  • 087cff27 on github
  • Prev Build on v1.36.x (#21669)
  • Next Build on v1.36.x (#21733)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc