Commit Graph
37 Commits
Author SHA1 Message Date
zimochandmdavidsaver 40300a12cb replaced tabs with spaces 2020-04-15 08:17:03 -07:00
Michael Davidsaver f44dcbfc77 WIN32 fix 2019-06-26 16:48:31 -07:00
mdavidsaverandGitHub 9eb5843def Merge pull request #144 from mdavidsaver/idletimeout
TCP Idle Timeout
2019-06-26 15:57:37 -07:00
Michael Davidsaver a2c106378a avoid deadlock involving fair_queue<T>::clear()
Avoid destroying items while the queue lock is held.
2019-05-29 11:09:24 -07:00
Michael Davidsaver ecee708d3a redo hexDump
ludicrously inefficient (cf. toHex() ), and inflexible.
2019-05-21 08:51:00 -07:00
Michael Davidsaver b54cc1f62b remove deprecated namedLockPattern.h 2019-05-16 10:21:52 -07:00
Michael Davidsaver e978a29e5e remove deprecated createFileLogger 2019-05-16 10:21:52 -07:00
Michael Davidsaver 31d98fc965 attempt to please MSVC
Seems not to elide some calls to
Configure::operator=()
2019-01-12 14:31:19 -08:00
Michael Davidsaver 3b4a52a360 remove usage of NoDefaultMethods 2019-01-12 12:02:25 -08:00
Michael Davidsaver 0d1ba091a2 remove unused, and un-useful, IP address utils 2019-01-12 12:02:25 -08:00
Michael Davidsaver 1b273d3787 deprecate createFileLogger() 2018-10-18 17:52:56 -07:00
Michael Davidsaver fc037f0a39 drop getBroadcastAddresses()
in favor of discoverInterfaces().

if we have to do NIC discovery ourselves, then at least
avoid mixing our results with the similar, but not identical
results of osiSockDiscoverBroadcastAddresses() from Base.
2018-07-02 14:39:37 -07:00
Michael Davidsaver c5419f9487 revise discoverInterfaces()
change interface to distingush between bcast and point2point.
add netmask to truly distinguish unicast from bcast.
fix some minor (I think) errors in the bsd socks impl (use of clobbered buffer).
cleanup win32 impl. bcast and p2p handling.
2018-07-02 14:39:36 -07:00
Michael Davidsaver 3abd77a42c fix IntrospectionRegistry error handling
Calling code can't deal with "cache" miss,
which indicates either a protocol error (use of invalid ID),
or a logic error on our part (didn't save ID).
In either case, better to throw an exception than to crash.
2018-06-22 13:28:49 -07:00
Michael Davidsaver 685490fc1a no NDEBUG
Apparently the Base makefiles never have defined NDEBUG.
So no point for this conditional.
2018-02-14 08:55:01 -08:00
Michael Davidsaver c6b1d3b738 fairQueue: logic error allows perpetual clear()
oops, the argument isn't cleared in all
cases, and can be swapped in.
As in the case of clear().
2018-02-13 17:58:56 -08:00
Michael Davidsaver f1defe4e9f mark NamedLockPattern as deprecated
just too hard to use (exception) safely
2018-02-01 19:00:38 -08:00
Michael Davidsaver 58f996fd98 update transportRegistry
avoid leaks of SOCKET and leaving mutex locked
when exceptions are thrown.
2018-02-01 18:54:25 -08:00
Michael Davidsaver 903d117485 pvAccessLog() add EPICS_PRINTF_STYLE()
and fixup incorrect specifiers
2017-12-28 10:49:54 -06:00
Michael Davidsaver 90e8276758 fixup point to point interface handling.
with bcast interfaces, send searches to bcast address
and !WIN32 binds bcast address to receive searches.

with point to point, send searches to dest address.
can't bind dest address (not local).

quiets spurious error message:

> Error binding socket: Cannot assign requested address.

Encountered with a P2P link setup by openvpn.
2017-09-06 10:38:20 -05:00
Michael Davidsaver 27ec187bd4 inetAddressUtil no more new vector
no more allocating vector.
2017-09-02 09:55:15 -05:00
Michael Davidsaver 937fb154c1 update release notes 2017-07-18 19:06:55 +02:00
Michael Davidsaver 10b4ba8ae5 requester.h import/export 2017-07-18 16:09:53 +02:00
Michael Davidsaver 0222463123 update requester.h
move to pvAccess namespace.
2017-07-12 14:26:28 +02:00
Michael Davidsaver 042b3e7b0f requester.h moves from pvDataCPP 2017-07-12 13:14:02 +02:00
Michael Davidsaver e75ba66409 move Destroyable to pva namespace 2017-07-05 11:57:10 +02:00
Michael Davidsaver ceefa7301d move destroyable.h from pvDataCPP 2017-07-05 11:51:06 +02:00
Michael Davidsaver 65cdff288f Configuration list keys 2017-06-01 01:54:17 +02:00
Michael Davidsaver 0fbbcc2d9f remove deprecated Properties 2017-05-30 17:33:04 +02:00
Andrew Johnson 0f61408a28 Minor clean-up after issue #43 fix. 2016-04-14 11:36:14 -05:00
Matej Sekoranja 6dc9b0f96f replaced LGPL wildcard matcher w/ simplistic epics-base version 2016-04-14 11:31:32 +02:00
Andrew Johnson e28fd6129e Remove need to undef epicsExportSharedSymbols
This approach works OK, but makes it much harder to find files
that have mistakes in them since they can cause other functions
to get the wrong import/export setting.
2016-04-06 10:59:23 -05:00
Andrew Johnson 7ed5f8b4bf Wrong keyword, use epicsShareFunc 2016-04-06 10:59:22 -05:00
Matej Sekoranja 5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja 87c11d83d2 win32 port 2016-03-06 21:21:26 +01:00
Matej Sekoranja 56b6279035 manual merge 2016-03-02 13:34:05 +01:00
Michael Davidsaver 49058d260b move installed headers to pv/ sub-dir 2016-01-26 15:36:07 -05:00