| @@ 189-195 (lines=7) @@ | ||
| 186 | ||
| 187 | return $record; |
|
| 188 | }; |
|
| 189 | for ($i = 0; $i < $ancount; ++$i) { |
|
| 190 | $record = $getResRecord($pct); |
|
| 191 | if (!isset($this->response[$record['type']])) { |
|
| 192 | $this->response[$record['type']] = []; |
|
| 193 | } |
|
| 194 | $this->response[$record['type']][] = $record; |
|
| 195 | } |
|
| 196 | for ($i = 0; $i < $nscount; ++$i) { |
|
| 197 | $record = $getResRecord($pct); |
|
| 198 | if (!isset($this->response[$record['type']])) { |
|
| @@ 196-202 (lines=7) @@ | ||
| 193 | } |
|
| 194 | $this->response[$record['type']][] = $record; |
|
| 195 | } |
|
| 196 | for ($i = 0; $i < $nscount; ++$i) { |
|
| 197 | $record = $getResRecord($pct); |
|
| 198 | if (!isset($this->response[$record['type']])) { |
|
| 199 | $this->response[$record['type']] = []; |
|
| 200 | } |
|
| 201 | $this->response[$record['type']][] = $record; |
|
| 202 | } |
|
| 203 | for ($i = 0; $i < $arcount; ++$i) { |
|
| 204 | $record = $getResRecord($pct); |
|
| 205 | if (!isset($this->response[$record['type']])) { |
|
| @@ 203-209 (lines=7) @@ | ||
| 200 | } |
|
| 201 | $this->response[$record['type']][] = $record; |
|
| 202 | } |
|
| 203 | for ($i = 0; $i < $arcount; ++$i) { |
|
| 204 | $record = $getResRecord($pct); |
|
| 205 | if (!isset($this->response[$record['type']])) { |
|
| 206 | $this->response[$record['type']] = []; |
|
| 207 | } |
|
| 208 | $this->response[$record['type']][] = $record; |
|
| 209 | } |
|
| 210 | $this->onResponse->executeOne($this->response); |
|
| 211 | if (!$this->keepalive) { |
|
| 212 | $this->finish(); |
|