Skip to content

Commit caa750c

Browse files
committed
Clarify explanation
1 parent 4a73aec commit caa750c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/iexec/worker/pubsub/StompClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ private void requestNewSession() {
119119
*
120120
* <p><b>Note:</b> the reason we use a queue is because the
121121
* method {@link SessionHandler#handleTransportError()} is called,
122-
* in some cases, two times to handle two different exceptions.
123-
* This occurs when the connection is, for whatever reason,
124-
* brutally terminated while a message is being transmitted.
122+
* two times to handle connectivity issues when the websocket
123+
* connection is, for whatever reason, brutally terminated while
124+
* a message is being transmitted.
125125
* The first call is to handle the incomplete body message parsing
126126
* problem ({@code Premature end of chunk coded message body:
127127
* closing chunk expected}).

0 commit comments

Comments
 (0)