| 239 | } |
| 240 | |
| 241 | bool |
| 242 | HttpProxyPort::hasQUIC(Group const &ports) |
| 243 | { |
| 244 | bool zret = false; |
| 245 | for (int i = 0, n = ports.size(); i < n && !zret; ++i) { |
| 246 | if (ports[i].isQUIC()) { |
| 247 | zret = true; |
| 248 | } |
| 249 | } |
| 250 | return zret; |
| 251 | } |
| 252 | |
| 253 | const HttpProxyPort * |
| 254 | HttpProxyPort::findHttp(Group const &ports, uint16_t family) |