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

Implement autopaho.ClientManager with rpc extension #95

Closed
wants to merge 130 commits into from

Commits on Nov 1, 2018

  1. Initial commit

    eclipsewebmaster authored Nov 1, 2018
    Configuration menu
    Copy the full SHA
    c4a442a View commit details
    Browse the repository at this point in the history
  2. v5 client alpha

    alsm committed Nov 1, 2018
    Configuration menu
    Copy the full SHA
    cf86e3b View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#1 from alsm/master

    v5 client alpha
    alsm authored Nov 1, 2018
    Configuration menu
    Copy the full SHA
    545d0f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2018

  1. Update issue templates

    alsm committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    da09903 View commit details
    Browse the repository at this point in the history
  2. Update issue templates

    alsm committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    a081d45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a22fa2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2818271 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. Configuration menu
    Copy the full SHA
    d4ab93e View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Configuration menu
    Copy the full SHA
    84a1abe View commit details
    Browse the repository at this point in the history
  2. Bug and spelling fixes and rpc extension

    I wasn't stopping the pingHandler when the client lost its connection.
    I had left some properties as a write rather than writeBinary so they
    couldn't be unpacked properly
    
    Also have a working extension for request/response with demo
    alsm committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    09bb144 View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#8 from alsm/master

    Add extension for Request/Response
    alsm authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    8a941e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Struct alignment

    alsm committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    62679b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2019

  1. Start to add tests and fix issues they're throwing up

    Adding tests are overdue and it's showing up the areas that I haven't
    got right, especially in the packets library
    
    eclipse-paho#5
    alsm committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    89b49ec View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#9 from alsm/master

    Tests and struct alignment
    alsm authored Jan 30, 2019
    Configuration menu
    Copy the full SHA
    26ca96a View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Don't add 0 byte buffers to net.Buffers

    Plays havoc with tests
    alsm committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    7143385 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#10 from alsm/master

    Don't add 0 byte buffers to net.Buffers
    alsm authored Feb 25, 2019
    Configuration menu
    Copy the full SHA
    21c0048 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Add go modules files

    alsm committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    6f28c77 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#11 from alsm/master

    Add go modules files
    alsm authored Mar 21, 2019
    Configuration menu
    Copy the full SHA
    f8095b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Configuration menu
    Copy the full SHA
    4bcfd9a View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#12 from alsm/master

    More tests, fixing issues with will message
    alsm authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    2e64780 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2019

  1. Configuration menu
    Copy the full SHA
    cf2504b View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#13 from alsm/master

    Move to using config struct for client options
    alsm authored Apr 26, 2019
    Configuration menu
    Copy the full SHA
    5608070 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. Fix tests and don't call OnDisconnect early

    The call to the OnDisconnect handler was scheduled before the disconnect
    process had completed, because the user may legitimately want to call
    Connect() again in this handler don't call it until disconnected.
    alsm committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    ff073fb View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#15 from alsm/master

    Fix tests and don't call OnDisconnect early
    alsm authored Apr 30, 2019
    Configuration menu
    Copy the full SHA
    5cf62b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5242fc2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request eclipse-paho#16 from alsm/master

    Cleanup client if fail to Connect
    alsm authored Apr 30, 2019
    Configuration menu
    Copy the full SHA
    caca19e View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. Configuration menu
    Copy the full SHA
    8b379ad View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#17 from alsm/master

    More tests and clean up Disconnection
    alsm authored May 5, 2019
    Configuration menu
    Copy the full SHA
    f4eccb7 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Check the ping channel is not nil in Stop()

    As reported in eclipse-paho#19 the cleanup function in Connect will attempt to Stop
    the PingHandler, as it happens the PingHandler will not have been
    started at any point before when cleanup() may be called. However
    Incoming() will have been started and will also attempt to Stop()
    PingHandler which in the issue given will still have a nil channel
    Also I've added some more error checks.
    Al S-M committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    ee8aa7c View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#20 from alsm/master

    Check the ping channel is not nil in Stop()
    Al S-M authored Aug 14, 2019
    Configuration menu
    Copy the full SHA
    591ee2b View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Revert changes to chat example

    alsm committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    a0fe6ab View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Performance improvements

    reduced the number of allocs for packets
    Al S-M committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    57727cf View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Update unsubscribe.go

    Al S-M authored Oct 6, 2020
    Configuration menu
    Copy the full SHA
    0bc976d View commit details
    Browse the repository at this point in the history
  2. Add extension to provide automatic topic aliasing

    Added a publishHook function to clientconfig that if set is called
    before the publish is sent, this function can modify the Publish and is
    used in the extension to do automatic topic aliasing
    
    eclipse-paho#29
    Al S-M committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    600a465 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Configuration menu
    Copy the full SHA
    c9550db View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#34 from alsm/connack_fix

    Add SessionExpiryInterval to CONNACK
    Al S-M authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    38cdbb0 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Fix client.Incoming() recv PINGRESP

    Signed-off-by: a-wing <[email protected]>
    a-wing committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    b0c4588 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Merge pull request eclipse-paho#36 from SB-IM/master

    Fix client.Incoming() recv PINGRESP
    Al S-M authored Dec 18, 2020
    Configuration menu
    Copy the full SHA
    ca3a567 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#31 from alsm/topicalias

    Add extension to provide automatic topic aliasing
    Al S-M authored Dec 18, 2020
    Configuration menu
    Copy the full SHA
    393a105 View commit details
    Browse the repository at this point in the history
  3. Make user properties a slice of struct not map

    It was pointed out that the key for user properties can be used
    multiple times so a map was not the right solution, changed
    to a slice of struct instead and modified the packet structs
    
    fixes eclipse-paho#21
    alsm committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    35f5391 View commit details
    Browse the repository at this point in the history
  4. Merge pull request eclipse-paho#37 from alsm/ping_fix

    Make user properties a slice of struct not map
    Al S-M authored Dec 18, 2020
    Configuration menu
    Copy the full SHA
    ff40b7f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Fix pinger lastPing && atomic

    Signed-off-by: a-wing <[email protected]>
    a-wing committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    c9c5be6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#38 from SB-IM/master

    Fix pinger lastPing && atomic
    Al S-M authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    79cd3a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. SubscriptionIdentifier should be a VBI

    Mistakenly had the sub id down as a uint32 rather than the variable
    byte integer that the spec says, tbh I think the uint32 would have been
    a better choice, vbis suck
    
    fixes eclipse-paho#39
    alsm committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    c1e8d82 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#41 from alsm/sub_id_fix

    SubscriptionIdentifier should be a VBI
    Al S-M authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    4dfed37 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. Add paho Client OnClientError()

    Signed-off-by: a-wing <[email protected]>
    a-wing committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    2e7dfc3 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Merge pull request eclipse-paho#44 from SB-IM/master

    add paho Client OnClientError()
    Al S-M authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    37edd11 View commit details
    Browse the repository at this point in the history
  2. rename OnDisconnect and change how it's called

    Changed OnDisconnect to OnServerDisconnect to make it explicit that it's
    only called when the server disconnects you. Also if that callback is
    not set it will call the OnClientError callback with a generic
    "server initiated disconnect" message.
    alsm committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    3ed6b76 View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#45 from alsm/callbacks

    rename OnDisconnect and change how it's called
    Al S-M authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    6c0b351 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Ensure that MIDs are freed after use

    Also improve performance of getting a new mid and add tests
    
    resolves eclipse-paho#46
    Al Stockdill-Mander committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    a06d7aa View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#48 from alsm/mids

    Ensure that MIDs are freed after use
    Al S-M authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    bb071fb View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Correct handling of PUBREL

    Got the test back to front for error codes on PUBREL so weren't sending
    PUBCOMP responses.
    Also weren't handling user properties correctly
    
    resolves eclipse-paho#49
    Al Stockdill-Mander committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    90abe60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#51 from alsm/qos2

    Correct handling of PUBREL
    Al S-M authored Mar 12, 2021
    Configuration menu
    Copy the full SHA
    deac93e View commit details
    Browse the repository at this point in the history
  3. Wrong number

    Al Stockdill-Mander committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    39b3dab View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. In-order routing

    Signed-off-by: fracasula <[email protected]>
    fracasula committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    25171ac View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Configuration menu
    Copy the full SHA
    ac32a44 View commit details
    Browse the repository at this point in the history
  2. Autopaho initial checkin

    MattBrittan committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    b1543ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd6764d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c80c588 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    46ce9a0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8ac8d0f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Improve logging

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    2d97b52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9425dc View commit details
    Browse the repository at this point in the history
  3. Correctly copy config

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    be5c010 View commit details
    Browse the repository at this point in the history
  4. Correctly copy config

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    2acb761 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd11ade View commit details
    Browse the repository at this point in the history
  6. Add gitignore

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    7c94af3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80af9b2 View commit details
    Browse the repository at this point in the history
  8. Deal with lint issues

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    953f0b1 View commit details
    Browse the repository at this point in the history
  9. Fix error scope

    MattBrittan committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    ed97213 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8816017 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Configuration menu
    Copy the full SHA
    3073cd0 View commit details
    Browse the repository at this point in the history
  2. Removing debug println

    fracasula committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    7d9708f View commit details
    Browse the repository at this point in the history
  3. Fix race condition

    fracasula committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    c357728 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1746dd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a1e23c1 View commit details
    Browse the repository at this point in the history
  6. Checking if chan was closed

    fracasula committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    e13ab5a View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Merge pull request eclipse-paho#52 from fracasula/in-order-routing

    In-order routing and late ack
    Al S-M authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    e35eb25 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Target to run tests

    fracasula committed May 28, 2021
    Configuration menu
    Copy the full SHA
    98e48c9 View commit details
    Browse the repository at this point in the history
  2. Idempotent close

    fracasula committed May 28, 2021
    Configuration menu
    Copy the full SHA
    3320daa View commit details
    Browse the repository at this point in the history
  3. Return on context.Done()

    fracasula committed May 28, 2021
    Configuration menu
    Copy the full SHA
    40177c7 View commit details
    Browse the repository at this point in the history
  4. Disconnect always blocks

    fracasula committed May 28, 2021
    Configuration menu
    Copy the full SHA
    d9163cb View commit details
    Browse the repository at this point in the history
  5. Connect refactoring

    fracasula committed May 28, 2021
    Configuration menu
    Copy the full SHA
    12ab18c View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. expectConnack

    fracasula committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    3cea6ae View commit details
    Browse the repository at this point in the history
  2. Fixing comment

    fracasula committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    287b1e2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#56 from fracasula/deadlock

    Deadlock + minor bugfixes
    Al S-M authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    fe731eb View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Acks tracker

    fracasula committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    9347bc3 View commit details
    Browse the repository at this point in the history
  2. Linter err

    fracasula committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    1229542 View commit details
    Browse the repository at this point in the history
  3. Manual acks

    fracasula committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    9ee080d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Minor make up

    fracasula committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    a4f0e1c View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    32a3e87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04b2f07 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    a8aef95 View commit details
    Browse the repository at this point in the history
  2. Revert commit made in error

    (had intended to pull changes rtather than pushing them!)
    
    This reverts commit 0a12f3c, reversing
    changes made to e71c343.
    MattBrittan committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    e86ac72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bcce99 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74f6afe View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. Merge pull request eclipse-paho#60 from ChIoT-Tech/master

    Autopaho - an easy to use wrapper around paho (manages the connection/reconnection process)
    Al S-M authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    c4b4787 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#58 from fracasula/closed-ch

    panic: send on closed channel
    Al S-M authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    8692203 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2021

  1. Configuration menu
    Copy the full SHA
    5cbac3f View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Merge pull request eclipse-paho#62 from ChIoT-Tech/master

    Add websocket support to AutoPaho
    Al S-M authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    bb3c77e View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. Configuration menu
    Copy the full SHA
    5bf1976 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eclipse-paho#65 from alsm/sema-fix

    Always release semaphore in publish function
    Al S-M authored Jun 30, 2021
    Configuration menu
    Copy the full SHA
    aa82f56 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Merge pull request eclipse-paho#57 from fracasula/manual-acks

    Manual acknowledgments
    Al S-M authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    3ae026d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70c0f01 View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#67 from alsm/sema-fix

    Ensure that go routines finish on disconnect/error
    Al S-M authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    00cf951 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    4b31705 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1927f5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b95496a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78434da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc7393f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Merge pull request eclipse-paho#69 from mycelial-labs/sb/autopaho_set…

    …up_connect
    
    autopaho: set connect packet parameters
    Al S-M authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    bd07800 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2021

  1. Support enhanced authentication

    add string methods to all the packet definitions in the packets library
    
    eclipse-paho#75
    alsm committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    054cbb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f31179d View commit details
    Browse the repository at this point in the history
  3. Merge pull request eclipse-paho#79 from alsm/master

    Add enhanced authentication
    alsm authored Oct 22, 2021
    Configuration menu
    Copy the full SHA
    81fe98d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Lock ControlPacket writer if necessary

    Not all net.Conn implementations are thread safe for net.Buffers.WriteTo method
    because they don't implement private net.writeBuffers interface.
    
    To fix this, we check if io.Writer in ControlPacket.WriteTo implements
    sync.Locker, call Lock() before writing to connection and defer Unlock().
    This requirement can be satisfied by embedding sync.Mutex as sync.Locker in
    net.Conn wrapper struct.
    
    Introduced a helper function NewThreadSafeConn to wrap net.Conn and fixed the
    potential race conditions in autopaho for TLS and websocket connections (since
    ControlPacket.WriteTo is the only method writing to net.Conn, we can safely
    replace Write lock with sync.Locker called in WriteTo).
    thejan2009 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    21d71b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Merge pull request eclipse-paho#84 from thejan2009/packets-atomicwriteto

    Introduce threadSafeConn wrapper for thead-safe writing to net.Conn
    alsm authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    9bbc5a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Configuration menu
    Copy the full SHA
    c50df6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aef92b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    77cf4a2 View commit details
    Browse the repository at this point in the history
  2. Build binaries to bin

    bkneis committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    4bade7e View commit details
    Browse the repository at this point in the history
  3. Move config to rpc_cm

    bkneis committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    320176c View commit details
    Browse the repository at this point in the history
  4. Undo changes to go.mod

    bkneis committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    64923a5 View commit details
    Browse the repository at this point in the history
  5. Move rpc_cm to autopaho

    bkneis committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    f9f8d79 View commit details
    Browse the repository at this point in the history
  6. Improve docblock

    bkneis committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    ba00565 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Move interfaces to rpc.go

    bkneis committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    6df5d7c View commit details
    Browse the repository at this point in the history
  2. Defer unlocking of mutex

    bkneis committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    270aac3 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    0845876 View commit details
    Browse the repository at this point in the history
  2. Fix cli ref

    bkneis committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    e1036d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4e325b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Update Makefile with phony

    bkneis committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5dff83d View commit details
    Browse the repository at this point in the history