Commit Graph

58 Commits

Author SHA1 Message Date
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 a9aad63292 server: OS specific handling of 0.0.0.0 and :: 2022-04-05 07:57:16 -07:00
Michael Davidsaver 1be0477ee6 evsocket::canIPv6 once 2022-04-05 07:57:16 -07:00
Michael Davidsaver 89fd1bba7a server: 0.0.0.0 -> :: promotion is Linux specific 2022-04-05 07:57:16 -07:00
Michael Davidsaver 5d61ed75bf minor logging 2022-04-05 07:57:16 -07:00
Michael Davidsaver df4289b4e6 IPv6+mcast support 2022-04-05 07:57:16 -07:00
Michael Davidsaver 964da05ef2 Revert "accommodate gcc vs. msvc handling of empty __VA_ARGS__"
This reverts commit f7dd311daa.
2022-01-31 11:06:01 -08:00
Michael Davidsaver f7dd311daa accommodate gcc vs. msvc handling of empty __VA_ARGS__ 2022-01-28 08:42:18 -08:00
Michael Davidsaver c503eece31 spell check 2021-08-13 15:18:31 -07:00
Michael Davidsaver cce0294c0c evutil_make_listen_socket_reuseable() 2021-07-06 18:33:18 -07:00
Michael Davidsaver 60d275412f conn/chan tx/rx stat tracking 2021-06-27 10:17:13 -07:00
Michael Davidsaver 9ec69c784a server: change how operation credentials are presented 2021-06-27 10:17:13 -07:00
Michael Davidsaver da004bc54b configurable timeout (with $EPICS_PVA_CONN_TMO) 2021-06-08 09:45:49 -07:00
Michael Davidsaver 5d64bca234 complete change default log level to Warn 2021-05-06 08:46:20 -07:00
Michael Davidsaver 23004f8912 server: don't warn when port 0 requested
cf. 4a6c468f9f
2021-05-04 16:46:41 -07:00
Michael Davidsaver 4a6c468f9f server: warn when falling back to random TCP port 2021-04-18 13:46:26 -07:00
Michael Davidsaver fb7abfc132 sockets O_CLOEXEC 2021-01-29 15:17:29 -08:00
Michael Davidsaver b5167570e5 minor 2021-01-28 07:44:32 -08: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 280919b3ec server: adjust handling of invalid SID
Downgrade severity as invalid SIDs are an
unavoidable possibility after server
channel destroy.
2020-08-10 12:09:55 -07:00
Michael Davidsaver 4e2f9554a8 server ensure channel onClose() has run 2020-08-10 12:09:55 -07:00
Michael Davidsaver a2f478cc24 server: fixup channel state handling 2020-08-10 12:09:55 -07:00
Michael Davidsaver 3b641bed84 start *IDs from different non-zero
Help detect situations where SID, CID, or IOID are mixed up
2020-04-07 13:28:06 -07:00
Michael Davidsaver 9971b2ceec dead code 2020-04-07 12:05:27 -07:00
Michael Davidsaver facb18ae00 Add log_exc_printf() with stack trace 2020-04-03 11:58:23 -07:00
Michael Davidsaver 1990384f5d libevent 2.0 compat 2020-03-19 22:27:38 -07:00
Michael Davidsaver a86a0db8f8 server connection store credentials 2020-03-09 16:34:18 -07:00
Michael Davidsaver 20acafa963 fix Connection ownership
Keep alive during bev*() callbacks
2020-03-02 15:37:43 -08:00
Michael Davidsaver 6504466bbf separate basic TCP RX handling 2020-02-20 23:12:24 -08:00
Michael Davidsaver 99ce43c0eb prefer log_*_printf() 2020-02-19 07:10:52 -08:00
Michael Davidsaver 95ed4b2993 onClose confusion 2020-02-03 14:57:50 -08:00
Michael Davidsaver b54b9fb78d server fix bind() when 5075 in use 2020-02-03 14:57:04 -08:00
Michael Davidsaver 5ddc2beb47 server monitor throttle using send queue size 2020-01-26 15:55:56 -08:00
Michael Davidsaver 9ffb8dab9a minor 2020-01-25 12:12:21 -08:00
Michael Davidsaver c2a4224a21 server monitor 2020-01-22 12:25:21 -08:00
Michael Davidsaver fecdd52e70 update logging 2019-12-19 18:42:39 -08:00
Michael Davidsaver 68cb777702 use std::make_shared where possible
may avoid extra alloc for ref. counter
2019-12-19 18:42:39 -08:00
Michael Davidsaver 583ee684ab generalize Get/Put/RPC handling 2019-12-18 18:31:17 -08:00
Michael Davidsaver 69c3549e66 oops 2019-12-16 09:01:16 -08:00
Michael Davidsaver aa973c9adc server boilerplate reduction 2019-12-15 16:43:22 -08:00
Michael Davidsaver 7c47975af5 Got GET 2019-12-15 16:43:22 -08:00
Michael Davidsaver 7de1f7d32f server decode credentials 2019-12-15 16:43:22 -08:00
Michael Davidsaver 92c513d6dd de-templateize xcode 2019-12-10 19:28:54 -08:00
Michael Davidsaver 6292776629 normalize message names to CMD_* 2019-11-20 10:39:30 -08:00
Michael Davidsaver 9ceab63d02 Introspect can error 2019-11-19 16:08:03 -08:00
Michael Davidsaver f063bd26f5 tcp search 2019-11-19 16:08:03 -08:00