| 2161 | } |
| 2162 | |
| 2163 | static int send_reset(SBUF2 *sb) |
| 2164 | { |
| 2165 | int rc = 0; |
| 2166 | struct newsqlheader hdr = {.type = ntohl(CDB2_REQUEST_TYPE__RESET)}; |
| 2167 | rc = sbuf2fwrite((char *)&hdr, sizeof(hdr), 1, sb); |
| 2168 | if (rc != 1) { |
| 2169 | return -1; |
| 2170 | } |
| 2171 | return 0; |
| 2172 | } |
| 2173 | |
| 2174 | static int try_ssl(cdb2_hndl_tp *hndl, SBUF2 *sb) |
| 2175 | { |
no outgoing calls
no test coverage detected