Commit Graph

35 Commits

Author SHA1 Message Date
Michael Davidsaver 2a56a08516 set TCP_NODELAY
Turns out, this can make a difference in some situations.
2023-11-07 14:08:56 -08:00
Michael Davidsaver 20e0fa8ca5 client: re-define the meaning of poke() 2023-04-17 15:54:29 -05:00
Michael Davidsaver 303bc61079 apply loc_bad_alloc to owned_ptr
Distinguish location of owned_ptr failure
2023-03-28 15:21:39 -07:00
Michael Davidsaver 0de17036f4 add Context::close() 2022-11-27 08:20:13 -08:00
Michael Davidsaver 8333ce30ec re-define user bufferevent limits in terms of OS buffer size 2022-10-14 10:20:51 -07:00
Michael Davidsaver 0eea8fd1c7 fix CMD_MESSAGE handling 2022-10-14 10:20:51 -07:00
Michael Davidsaver 92f728f5c9 Add hold-off timer when reconnecting to a specific server 2022-06-19 10:51:45 -07:00
Michael Davidsaver 9bbe6292a2 compat notes 2022-05-18 12:27:33 -07:00
Michael Davidsaver ec8d0df1b3 allow override of sendBE and test all combinations
Cross-testing client/server with all byte order combinations.
2022-05-18 12:27:33 -07:00
Michael Davidsaver cce797263d fix handling of pva_ctrl_msg::SetEndian 2022-05-18 10:32:16 -07:00
Michael Davidsaver c503eece31 spell check 2021-08-13 15:18:31 -07:00
Michael Davidsaver f7b3821e10 client: consistent Channel disconnect handling
More commonality betwee disconnect and CMD_DESTROY_CHANNEL.

squash! client: consistent Channel disconnect handling

Periodic cache cleaning
2021-07-06 18:32:36 -07:00
Michael Davidsaver 5d3a21f030 client Channel search bypass
Bypass the broadcast search phase and directly connect
to a specific server and issue CMD_CREATE_CHANNEL.

Note, due to pvAccessCPP buggyness, this can only be relied
upon to connect with the unadvertised magic 'server' PV.
2021-07-03 13:20:20 -07:00
Michael Davidsaver e63b9155de minor 2021-06-27 10:17:14 -07:00
Michael Davidsaver 8363c7fe9a client add TCP search 2021-06-27 10:17:14 -07:00
Michael Davidsaver c4d2cd4a10 client: reorg context Pvt 2021-06-27 10:17:13 -07:00
Michael Davidsaver 60d275412f conn/chan tx/rx stat tracking 2021-06-27 10:17:13 -07:00
Michael Davidsaver 564b9ec2cc client: add Context::connect()
A means of manually (pre)populating
the channel cache.
2021-06-08 09:45:49 -07:00
Michael Davidsaver da004bc54b configurable timeout (with $EPICS_PVA_CONN_TMO) 2021-06-08 09:45:49 -07:00
Michael Davidsaver 6861f03c60 increase TCP timeout to 40 seconds 2021-01-14 18:01:56 -08:00
Michael Davidsaver e9ce80880d remote file:line from decode errors 2021-01-12 11:32:10 -08:00
Michael Davidsaver 76764cf978 xcode: capture file:line of fault() 2021-01-12 11:32:10 -08:00
Michael Davidsaver 0c32bae982 avoid use of undefined warning when logging 2020-11-06 08:57:39 -08:00
Michael Davidsaver facb18ae00 Add log_exc_printf() with stack trace 2020-04-03 11:58:23 -07:00
Michael Davidsaver d452e009ce libevent 2.0 compat 2020-03-20 09:23:06 -07:00
Michael Davidsaver c7ba7d21b6 add client monitor 2020-03-04 19:57:00 -08:00
Michael Davidsaver a3ffbd2a9b client fix Channel reconnect 2020-03-02 15:37:43 -08:00
Michael Davidsaver e668038250 client track opByIOID per channel
needed to handle CMD_DESTROY_CHANNEL
2020-03-02 15:37:43 -08:00
Michael Davidsaver 1f91eb9e5d client fix sendDestroyRequest() 2020-03-02 15:37:43 -08:00
Michael Davidsaver 20acafa963 fix Connection ownership
Keep alive during bev*() callbacks
2020-03-02 15:37:43 -08:00
Michael Davidsaver 7e2b5b55a4 client should not send SetEndian 2020-02-28 13:57:50 -08:00
Michael Davidsaver 3405e3c5ac client CMD_DESTROY_CHANNEL 2020-02-26 08:38:15 -08:00
Michael Davidsaver b52065ccad client get/put/rpc 2020-02-26 08:38:15 -08:00
Michael Davidsaver 7d490dc69e client info() error delivery 2020-02-21 11:54:01 -08:00
Michael Davidsaver 1edeab8a39 start client 2020-02-20 23:12:24 -08:00