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

feat: buffer Framed<.., Codec> packets #826

Closed
wants to merge 20 commits into from
Closed

feat: buffer Framed<.., Codec> packets #826

wants to merge 20 commits into from

Commits on Mar 16, 2024

  1. feat: implement Packet::size for v4/v5 (#817)

    * refactor: implement size for all v5 packet types
    
    * refactor: implement `Packet.size()` for v4
    Devdutt Shenoi authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    719633a View commit details
    Browse the repository at this point in the history
  2. refactor: read and write methods on v4::Packet (#821)

    * refactor: `Packet::read`
    
    * refactor: `Packet::write`
    
    * test: fix changes in refactor
    Devdutt Shenoi authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    cfdd394 View commit details
    Browse the repository at this point in the history
  3. refactor: AsyncReadWrite (#822)

    Devdutt Shenoi authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    8b4f96d View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. feat: MQTT Codec decoder

    Devdutt Shenoi committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    abf416c View commit details
    Browse the repository at this point in the history
  2. feat: MQTT Codec encoder

    Devdutt Shenoi committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    0842f73 View commit details
    Browse the repository at this point in the history
  3. refactor: move write buffer into Network

    Devdutt Shenoi committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    036e1f2 View commit details
    Browse the repository at this point in the history
  4. refactor: testing improvements

    Devdutt Shenoi committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    8a220c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. fix: readb should block for 1 packet (#824)

    Devdutt Shenoi authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    a5b2717 View commit details
    Browse the repository at this point in the history
  2. fix: Network::connect should flush

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    303d8c2 View commit details
    Browse the repository at this point in the history
  3. test: fix network expectations for EventLoop::clean

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    7fee5c1 View commit details
    Browse the repository at this point in the history
  4. refactor: use Framed to encode/decode

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    75efeaa View commit details
    Browse the repository at this point in the history
  5. deprecate Network::readb

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    041c6c8 View commit details
    Browse the repository at this point in the history
  6. refactor: v5 implementation

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    5dbe5a1 View commit details
    Browse the repository at this point in the history
  7. doc: changelog entry

    Devdutt Shenoi committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    c861a95 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. allow configuring MqttOptions.max_request_batch

    Defaults to 10
    Devdutt Shenoi committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    6c9a8d9 View commit details
    Browse the repository at this point in the history
  2. feat: buffer packets

    Devdutt Shenoi committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    33abd75 View commit details
    Browse the repository at this point in the history
  3. test: fix by avoiding buffer

    Devdutt Shenoi committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    8b0aaa1 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. fix: network buffering based on bytes written

    Devdutt Shenoi committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    f71665b View commit details
    Browse the repository at this point in the history
  2. fix: don't return Error::InsufficientBytes

    Devdutt Shenoi committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    83ed8c4 View commit details
    Browse the repository at this point in the history
  3. fix: buffer til capacity breach

    Devdutt Shenoi committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    aa08d34 View commit details
    Browse the repository at this point in the history