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

infrawatch / sg-core / 20776752706 / 1
51%
master: 50%

Build:
Build:
LAST BUILD BRANCH: OSPRH-23826/fix-long-messages-handling-grow-buffer
DEFAULT BRANCH: master
Ran 07 Jan 2026 09:29AM UTC
Files 18
Run time 0s
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

07 Jan 2026 09:19AM UTC coverage: 50.89% (+0.9%) from 50.027%
20776752706.1

Pull #157

github

vkmc
Add configurable buffer size and tests for large message handling

Made buffer size configurable via bufferSize parameter (default 65535,
min 1024, max 10MB) to handle different message size requirements.

Fixed TCP socket handling to properly receive messages larger than the
buffer by implementing multi-read logic that:
- Peeks at message length header to determine total message size
- Reads additional data in chunks until complete message is received
- Validates messages don't exceed 100MB max size
- Properly combines remaining data from previous reads

Improved error handling to distinguish between TCP (can read more) and
UDP/Unix datagram sockets (message gets truncated by OS).

Added comprehensive tests with 1500-byte buffers for all socket types
(TCP, UDP, Unix) to verify correct handling of messages within buffer,
exceeding buffer, and multiple message scenarios.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request #157: Add configurable buffer size and tests for large message handling

972 of 1910 relevant lines covered (50.89%)

0.57 hits per line

Source Files on job 20776752706.1
  • Tree
  • List 18
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20776752706
  • a05c6a5d on github
  • Prev Job for on OSPRH-23826/fix-long-messages-handling (#17729669544.1)
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

© 2026 Coveralls, Inc