@@ 321-327 (lines=7) @@ | ||
318 | return; |
|
319 | } |
|
320 | $this->phase = self::PHASE_AUTH_SENT; |
|
321 | $this->onResponse->push(function ($conn, $result) { |
|
322 | if ($conn->onConnected) { |
|
323 | $conn->connected = true; |
|
324 | $conn->onConnected->executeAll($conn, $result); |
|
325 | $conn->onConnected = null; |
|
326 | } |
|
327 | }); |
|
328 | $this->clientFlags = |
|
329 | Pool::CLIENT_LONG_PASSWORD | |
|
330 | Pool::CLIENT_LONG_FLAG | |
|
@@ 475-481 (lines=7) @@ | ||
472 | if ($this->protover === 0xFF) { // error |
|
473 | $fieldCount = $this->protover; |
|
474 | $this->protover = 0; |
|
475 | $this->onResponse->push(function ($conn, $result) { |
|
476 | if ($conn->onConnected) { |
|
477 | $conn->connected = true; |
|
478 | $conn->onConnected->executeAll($conn, $result); |
|
479 | $conn->onConnected = null; |
|
480 | } |
|
481 | }); |
|
482 | goto field; |
|
483 | } |
|
484 | if (($p = $this->search("\x00")) === false) { |