@@ 314-320 (lines=7) @@ | ||
311 | return; |
|
312 | } |
|
313 | $this->phase = self::PHASE_AUTH_SENT; |
|
314 | $this->onResponse->push(function ($conn, $result) { |
|
315 | if ($conn->onConnected) { |
|
316 | $conn->connected = true; |
|
317 | $conn->onConnected->executeAll($conn, $result); |
|
318 | $conn->onConnected = null; |
|
319 | } |
|
320 | }); |
|
321 | $this->clientFlags = |
|
322 | Pool::CLIENT_LONG_PASSWORD | |
|
323 | Pool::CLIENT_LONG_FLAG | |
|
@@ 432-438 (lines=7) @@ | ||
429 | if ($this->protover === 0xFF) { // error |
|
430 | $fieldCount = $this->protover; |
|
431 | $this->protover = 0; |
|
432 | $this->onResponse->push(function ($conn, $result) { |
|
433 | if ($conn->onConnected) { |
|
434 | $conn->connected = true; |
|
435 | $conn->onConnected->executeAll($conn, $result); |
|
436 | $conn->onConnected = null; |
|
437 | } |
|
438 | }); |
|
439 | goto field; |
|
440 | } |
|
441 | if (($p = $this->search("\x00")) === false) { |