} SBufEvent;
/*
- * If less that this amount of data is pending, then
+ * If less than this amount of data is pending, then
* prefer to merge it with next recv().
*
* It needs to be larger than data handler wants
return true;
disconnect_client(client, true, "pgbouncer cannot connect to server");
- /* usual relaunch wont work, as there are no waiting clients */
+ /* usual relaunch won't work, as there are no waiting clients */
launch_new_connection(pool);
return false;
mbuf_copy(data, &hdr);
if (mbuf_avail_for_read(&hdr) < NEW_HEADER_LEN) {
- log_noise("get_header: less then 5 bytes available");
+ log_noise("get_header: less than 5 bytes available");
return false;
}
if (!mbuf_get_byte(&hdr, &type8))
/* deliberately ignore transaction status */
} else if (server->pool->db->connect_query) {
server->exec_on_connect = 1;
- slog_debug(server, "server conect ok, send exec_on_connect");
+ slog_debug(server, "server connect ok, send exec_on_connect");
SEND_generic(res, server, 'Q', "s", server->pool->db->connect_query);
if (!res)
disconnect_server(server, false, "exec_on_connect query failed");
* suddenly but should not as they are still usable.
*
* But the 'E' or 'N' packet between transactions signifies probably
- * dying backend. This its better to tag server as dirty and drop
+ * dying backend. It is better to tag server as dirty and drop
* it later.
*/
case 'E': /* ErrorResponse */