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
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/NetworkModuleServiceTest.java
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/NetworkModuleService.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -115,10 +115,10 @@ public static NetworkModule createInstance(String address, MqttConnectOptions op
115
115
* This workaround tries to detect such a parsing failure and does tokenize the authority parts according to
116
116
* RFC3986, but does not enforce any character restrictions (for sake of simplicity).
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketHandshake.java
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@
29
29
importjava.util.HashMap;
30
30
importjava.util.Map;
31
31
importjava.util.UUID;
32
+
importjava.util.Properties;
33
+
importjava.util.Set;
34
+
importjava.util.Iterator;
32
35
/**
33
36
* Helper class to execute a WebSocket Handshake.
34
37
*/
@@ -52,14 +55,15 @@ public class WebSocketHandshake {
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketNetworkModule.java
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
importjava.io.OutputStream;
22
22
importjava.io.PipedInputStream;
23
23
importjava.nio.ByteBuffer;
24
+
importjava.util.Properties;
24
25
25
26
importjavax.net.SocketFactory;
26
27
@@ -37,6 +38,7 @@ public class WebSocketNetworkModule extends TCPNetworkModule {
37
38
privateStringuri;
38
39
privateStringhost;
39
40
privateintport;
41
+
privatePropertiescustomWebsocketHeaders;
40
42
privatePipedInputStreampipedInputStream;
41
43
privateWebSocketReceiverwebSocketReceiver;
42
44
ByteBufferrecievedPayload;
@@ -47,20 +49,21 @@ public class WebSocketNetworkModule extends TCPNetworkModule {
47
49
* Frame before passing it through to the real socket.
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketNetworkModuleFactory.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ public NetworkModule createNetworkModule(URI brokerUri, MqttConnectOptions optio
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketSecureNetworkModule.java
Copy file name to clipboardExpand all lines: org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketSecureNetworkModuleFactory.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ public NetworkModule createNetworkModule(URI brokerUri, MqttConnectOptions optio
0 commit comments