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

emitter-io / emitter
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/go_modules-c153b83258
DEFAULT BRANCH: master
Repo Added 17 Jul 2017 09:21AM UTC
Files 82
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

LAST BUILD ON BRANCH response_size_limitation
branch: response_size_limitation
CHANGE BRANCH
x
Reset
  • response_size_limitation
  • (HEAD detached at 2b188eb)
  • HEAD
  • ___old___history_api
  • bump-go-ver
  • bump_appveyor_go
  • bump_go_ver_1.20
  • bump_go_ver_workflows
  • bump_ver_all_deps
  • bv3
  • chore_update_deps
  • chore_upgrading_dependencies
  • cli_keygen
  • crdt
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
  • dependabot/go_modules/github.com/valyala/fasthttp-1.34.0
  • dependabot/go_modules/go_modules-c153b83258
  • dependabot/go_modules/golang.org/x/crypto-0.1.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/sys-0.1.0
  • dependabot/go_modules/golang.org/x/text-0.3.8
  • deps
  • fix-presence-on-extension-keys
  • fix-track-atomicity
  • fix_history_payload
  • fix_keyban
  • fix_storage_implement_surveyee
  • fix_storage_surveyee
  • gossip
  • history_api
  • ipv6
  • keyban
  • lock
  • master
  • more_history_tests
  • msg_size_limiter
  • presence
  • quick_fix_memory_provider
  • refactor
  • refs/tags/v2.8
  • refs/tags/v3.0
  • refs/tags/v3.1
  • shuffle
  • status_field_to_all_responses
  • sub-once
  • survey
  • test-workflow
  • update_test_workflow
  • val
  • will

19 Nov 2023 10:13PM UTC coverage: 93.099% (-0.01%) from 93.109%
6923246233

Pull #413

github

Florimond
Limit the size of a response

From the begining, mqtt.go defines a maximum size for a response.
However if the limit was met, it resulted in an error and no message was
sent. Now, the Query itself limits the size of a frame and messages are
sent to the client, but only those whose total size <= to the total size
of allowed in a response.

Implications on the current API: for a subscribe request with a Last=X
parameter, the client will receive the last messages whose total size is <= to
the max size of a response, with a maximum of X messages. This behavior is an
improvement over just getting an error.
Pull Request #413: Limit the size of a response

10 of 11 new or added lines in 2 files covered. (90.91%)

5369 of 5767 relevant lines covered (93.1%)

8122.51 hits per line

Relevant lines Covered
Build:
Build:
5767 RELEVANT LINES 5369 COVERED LINES
8122.51 HITS PER LINE
Source Files on response_size_limitation
  • Tree
  • List 78
  • Changed 11
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6923246233 response_size_limitation Limit the size of a response From the begining, mqtt.go defines a maximum size for a response. However if the limit was met, it resulted in an error and no message was sent. Now, the Query itself limits the size of a frame and messages are sent t... Pull #413 19 Nov 2023 10:15PM UTC Florimond github
93.1
6923238389 response_size_limitation Limit the size of a response From the begining, mqtt.go defines a maximum size for a response. However if the limit was met, it resulted in an error and no message was sent. Now, the Query itself limits the size of a frame and messages are sent t... push 19 Nov 2023 10:13PM UTC Florimond github
93.1
6923234788 response_size_limitation Limit the size of a response From the begining, mqtt.go defines a maximum size for an MQTT response. However if the limit was met, it resulted in an error and no message was sent. Now, the Query itself limits the size of a frame and messages are ... push 19 Nov 2023 10:13PM UTC Florimond github
93.1
6923206880 response_size_limitation Limit the size of a response From the begining, gmqtt.go defines a maximum size for an MQTT response. However if the limit was met, it resulted in an error and no message was sent. Now, the Query itself limits the size of a frame and messages are... push 19 Nov 2023 10:07PM UTC Florimond github
93.1
6923043727 response_size_limitation Limit the size of a response From the begining, gmqtt.go defines a maximum size for an MQTT response. However if the limit was met, it resulted in an error and no message was sent. Now, the Query itself limits the size of a frame and messages are... push 19 Nov 2023 09:29PM UTC Florimond github
93.08
See All Builds (510)
  • Repo on GitHub
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