odyssey/sources
Andrey b49213e066 Connect to server only when client have pending data
Currently we attach to server right after connection. This creates some
troubles especially in session pooling. With this commit we only attach
to server connection when at least one byte of client data arrived.
2020-01-14 11:50:51 +05:00
..
CMakeLists.txt Implements SCRAM Authentication (#73) 2019-11-11 12:28:50 +03:00
atomic.h Limit global max_clients before doing tls handshake 2019-10-11 13:33:28 +05:00
auth.c One more compiler warning 2019-11-19 15:33:51 +05:00
auth.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
auth_query.c odyssey: rework connection retry logic for too many connections case 2019-08-10 21:03:41 +03:00
auth_query.h Moved od_getpeername() call to auth.c 2019-07-17 13:07:34 +03:00
backend.c odyssey: minor fixes and refactoring 2019-04-13 13:26:47 +03:00
backend.h odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
build.h.cmake Modifications to build on PG12 (#86) 2019-12-18 14:39:24 +05:00
cancel.c odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
cancel.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
client.h odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
client_pool.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
config.c Implement login timeout 2019-12-02 18:28:39 +05:00
config.h Implement login timeout 2019-12-02 18:28:39 +05:00
config_reader.c Increase default client_max_routing 2019-12-04 15:21:50 +05:00
config_reader.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
console.c Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
console.h odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
cron.c Limit global max_clients before doing tls handshake 2019-10-11 13:33:28 +05:00
cron.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
daemon.c odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
daemon.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
deploy.c odyssey: minor fixes and refactoring 2019-04-13 13:26:47 +03:00
deploy.h odyssey: major parameter settings optimization 2018-12-12 16:07:25 +03:00
dns.c odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
dns.h odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
error.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
frontend.c Restrict number of startup sttempts 2019-12-27 17:22:32 +05:00
frontend.h odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
global.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
id.h Use pg_lrand48 for portability (#48) 2019-01-30 14:30:31 +05:00
instance.c Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
instance.h Use pg_lrand48 for portability (#48) 2019-01-30 14:30:31 +05:00
io.h odyssey: make restart read logic explicit in router attach 2019-06-13 11:55:01 +03:00
list.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
logger.c Add client host to default log (#74) 2019-11-06 13:45:22 +03:00
logger.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
macro.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
main.c odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
msg.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
odyssey.h Implements SCRAM Authentication (#73) 2019-11-11 12:28:50 +03:00
pam.c odyssey: set pam response ptr to NULL on error 2019-09-28 17:27:34 +03:00
pam.h odyssey: post merge fixes 2019-09-27 16:47:45 +03:00
parser.h Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
pid.c odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
pid.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
postgres.h Fix PostgreSQL linkage 2019-11-21 16:54:59 +05:00
readahead.h odyssey: fix warnings 2019-02-10 14:27:28 +03:00
relay.h Connect to server only when client have pending data 2020-01-14 11:50:51 +05:00
reset.c Move message synchronization checks 2019-05-21 17:43:25 +05:00
reset.h odyssey: major io rework and refactoring 2018-08-28 17:43:46 +03:00
route.h Remove db_state from route 2019-11-18 13:32:03 +05:00
route_id.h Support of replication protocol 2019-04-12 15:13:50 +05:00
route_pool.h odyssey: rework pool wait logic and refactor client notification 2018-12-07 15:12:06 +03:00
router.c Fix clients computation during enforcing route max_clients 2019-12-25 11:35:19 +05:00
router.h Implement client_max_routing (#72) 2019-10-15 17:15:37 +03:00
router_cancel.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
rules.c Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
rules.h Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
scram.c Modifications to build on PG12 (#86) 2019-12-18 14:39:24 +05:00
scram.h Modifications to build on PG12 (#86) 2019-12-18 14:39:24 +05:00
server.h Implements SCRAM Authentication (#73) 2019-11-11 12:28:50 +03:00
server_pool.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
stat.h odyssey: rework pool wait logic and refactor client notification 2018-12-07 15:12:06 +03:00
status.h Use 53300 for too many connections 2019-07-31 17:47:54 +05:00
system.c Fix ignoring of SIGPIPE 2019-12-18 14:32:36 +05:00
system.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
tls.c Implement login timeout 2019-12-02 18:28:39 +05:00
tls.h odyssey: major router and shared logic rework 2018-12-06 17:23:15 +03:00
util.h Revert "Add pause/resume admin console commands (#66)" 2019-11-19 16:57:16 +05:00
worker.c odyssey: major rework of io architecture 2019-01-23 18:43:52 +03:00
worker.h odyssey: add clients_processed stat info per worker 2018-11-19 18:32:05 +03:00
worker_pool.h odyssey: remove left-over debug 2018-11-19 18:33:19 +03:00