You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Frame.toString, Client.connect, Client.send, Client.subscribe, Client.ack and Client.nack mutate the headers argument they are invoked with. This causes very subtle bugs in client code as these objects are modified without the caller's knowledge.
Instead, a copy of the headers should be made for the purpose of modification, leaving the original in tact.
The text was updated successfully, but these errors were encountered:
Currently,
Frame.toString
,Client.connect
,Client.send
,Client.subscribe
,Client.ack
andClient.nack
mutate theheaders
argument they are invoked with. This causes very subtle bugs in client code as these objects are modified without the caller's knowledge.Instead, a copy of the headers should be made for the purpose of modification, leaving the original in tact.
The text was updated successfully, but these errors were encountered: