Home | History | Annotate | Download | only in websockets

Lines Matching refs:w1

86   scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate));
88 new SocketStream(GURL("ws://host1/"), w1.get()));
89 w1->InitSocketStream(s1.get());
96 EXPECT_EQ(OK, w1->OnStartOpenConnection(s1, &callback_s1));
100 // 1.2.3.4 | w1
101 // 1.2.3.5 | w1
102 // 1.2.3.6 | w1
115 // Trying to open connection to host2 will wait for w1.
119 // 1.2.3.4 | w1 w2
120 // 1.2.3.5 | w1
121 // 1.2.3.6 | w1
134 // Trying to open connection to host3 will wait for w1.
137 // 1.2.3.4 | w1 w2
138 // 1.2.3.5 | w1 w3
139 // 1.2.3.6 | w1
153 // Trying to open connection to host4 will wait for w1, w2.
156 // 1.2.3.4 | w1 w2 w4
157 // 1.2.3.5 | w1 w3
158 // 1.2.3.6 | w1 w4
171 // Trying to open connection to host5 will wait for w1, w4
174 // 1.2.3.4 | w1 w2 w4
175 // 1.2.3.5 | w1 w3
176 // 1.2.3.6 | w1 w4 w5
189 // Trying to open connection to host6 will wait for w1, w4, w5
192 // 1.2.3.4 | w1 w2 w4
193 // 1.2.3.5 | w1 w3
194 // 1.2.3.6 | w1 w4 w5 w6
196 // Receive partial response on w1, still connecting.
199 w1->OnReceivedData(s1.get(), kHeader, sizeof(kHeader) - 1);
206 // Receive rest of handshake response on w1.
215 w1->OnReceivedData(s1.get(), kHeader2, sizeof(kHeader2) - 1);
217 // Now, w1 is open.
218 EXPECT_EQ(WebSocketJob::OPEN, w1->state());
230 w1->OnClose(s1.get());
289 scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate));
291 new SocketStream(GURL("ws://localhost/"), w1.get()));
292 w1->InitSocketStream(s1.get());
299 EXPECT_EQ(OK, w1->OnStartOpenConnection(s1, &callback_s1));
302 w1->OnClose(s1.get());