Receiving ping while waiting for pong causes a sampler error

Issue #59 closed
Rytis Kymantas created an issue

Seems like receiving a ping from the server while waiting for a response to a client's ping causes the ping/pong sampler to fail.

Response code: Sampler error: unexpected frame type. Response message: Received: Ping frame with application data ''

Adding an option not to discard pong to the ping/pong filter would both prevent the sampler from failing and allow responding to pings.

On a related note, typo with "pong" being referred to as "ping" PongFrame.java:46

Comments (4)

  1. Peter Doornbosch repo owner

    Hi Rytis,

    Thanks for your suggestion. Sounds like a good idea, i'll look into it.

    Regards, Peter

  2. Log in to comment