Andrew Johnson
c1cebc89bf
rsrv: Add epicsShareFunc to casStatsFetch()
...
Fixes lp:999167
2012-05-14 11:16:33 -05:00
Andrew Johnson
243baddbf6
Add an Init stat to all thread control variables
...
This makes the uninitilized value not the Run state.
2012-05-04 13:38:59 -05:00
Jeff Hill
a52b995ca2
rsrv: Fixed large array element count bug
...
Reverted commit 12095.2.5 which introduced an incorrect optimization.
Fixes:701673
2011-01-13 16:21:31 -06:00
Jeff Hill
36175b1368
merged in R3.14.12
2010-11-01 15:15:51 -06:00
Jeff Hill
e372a83096
neglected to unlock on error return path
2010-11-01 15:01:04 -06:00
Jeff Hill
3ad06eb0a3
fixed request and response bytes amount was revered in printf
2010-11-01 15:00:02 -06:00
Andrew Johnson
fbda9f3280
RCS keyword updates for Bazaar
...
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
0c4746dd66
Moved new variable definitions to the beginning of their block.
...
Older C compilers such as vxWorks 5.x insist on this.
2010-08-13 12:59:50 -05:00
Michael Abbott
e54b631b8d
Guard memset in camessage.c to prevent wild memory overrun if mismatch
...
between payload and data size.
2010-08-11 16:49:46 -05:00
Michael Abbott
9d9ba1a442
Add CA message header size optimisation.
...
If a packet is sufficiently small it can be worth the small
optimisation of saving the 8 bytes in a large packet header.
2010-08-11 16:42:44 -05:00
Michael Abbott
30f0871c2b
Drive-by refactoring in caserverio.c
...
Minor refactoring of code block in cas_copy_in_header() to gather
common header code.
2010-08-11 16:41:15 -05:00
Michael Abbott
e87bbef75c
Update rsrv to support V4.13 protocol extension.
...
The rsrv server is updated in this commit to deliver variable sized
waveforms in response to a zero length request, implementing an
extension to the v4 EPICS protocol tied to minor version 13.
The core of the changes are in read_reply, rsrv/camessage.c, which first
reserves packet space for the largest possible response, but then resizes
the packet according to how much data is actually returned from the
database.
2010-08-11 16:38:49 -05:00
Andrew Johnson
eda402cf66
Merged Ralph's ca-over-tcp branch.
...
Fixed some vxWorks compile errors, and made a number of edits
to the HTML in the CAref.html documentation.
2010-08-10 16:05:46 -05:00
Ralph Lange
23612a7afe
Merged Codeathon 2008 changes (10292..10293 on cvs-trunk branch).
...
* Fixed conflicts until base compiles
* COMPLETELY UNTESTED
2010-04-06 17:59:35 -04:00
Andrew Johnson
4e0ab97038
(M. Davidsaver): static keyword is part of C89,
...
remove all uses and internal definitions of LOCAL macro
2009-07-09 16:37:24 +00:00
Andrew Johnson
f1b1c6d105
Handle SOCK_EINTR without generating warnings.
2009-05-08 21:50:37 +00:00
Ralph Lange
7fccc59fe9
ANSIfication of stuff (mostly missing argument types in declarations)
2009-04-03 17:46:26 +00:00
Janet B. Anderson
3d588b13fc
Changed LIBSRCS to LIB_SRCS.
2009-03-11 18:51:25 +00:00
Jeff Hill
2bf9959e11
committed a fix for mantis 302
2008-09-19 23:27:52 +00:00
Andrew Johnson
8b88489b90
Latest gcc doesn't like variables named 'true'.
2008-09-03 22:30:18 +00:00
Janet B. Anderson
a5ea63f7d8
RCS files now used for all cygwin and mingw builds.
2008-08-27 18:33:59 +00:00
Andrew Johnson
c9bc70bd6a
Added iocBuild, iocPause and iocRun commands.
...
These are mainly for redundant IOCs, but may be useful elsewhere.
iocBuild prepares the IOC and freezes it just before it goes live.
A subsequent iocRun kicks it into life, or restarts it when paused.
iocPause freezes all scan tasks and disconnects the server.
2008-07-09 21:31:56 +00:00
Andrew Johnson
0363341826
Remove duplicate taskwdInsert() call for the CAS-UDP task.
2008-05-20 17:45:18 +00:00
Jeff Hill
cff69ead6b
removed inadvertent ! at beginning of line in if statement
2007-11-07 23:17:06 +00:00
Jeff Hill
26339cdbed
additional changes for the mantis 296 pach
2007-11-06 17:58:36 +00:00
Jeff Hill
a74c727a43
fix for mantis entry 300:
...
'assert (size <= ntohs ( pMsg->m_postsize ))' failed in ..caserverio.c line 344
2007-09-07 17:43:52 +00:00
Jeff Hill
b5e2b40be0
fix for mantis 296
2007-08-17 22:31:11 +00:00
Andrew Johnson
70cc7eaab9
Reorganized iocsh command registration to untangle the build order.
...
The iocsh core is now part of libCom, and commands are registered locally
with a Register routine for each IOC library.
2007-03-13 17:54:23 +00:00
Jeff Hill
4840787079
use proper type for ioctl
2006-12-07 19:55:54 +00:00
Jeff Hill
91e3c129df
db flush extra labor now returns void
2006-11-28 18:51:16 +00:00
W. Eric Norum
945182eac9
Remove duplicate typedef to which gcc objected.
2006-11-20 16:10:02 +00:00
Jeff Hill
f3f56fb2bc
o fixed deadlock occurring when access security callback blocks for
...
unresponsive client
o made data conversion more standalone in the client library
2006-11-18 00:29:04 +00:00
Janet B. Anderson
147e21b71f
Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL.
2005-12-19 21:42:40 +00:00
Jeff Hill
a6957a6ec1
fixed some potential cleanup problems when there is insufficent
...
memory to finish creating a new client
2005-11-09 01:20:35 +00:00
Jeff Hill
77a023dc39
INADD_NONE:<repeater port> based UDP "disconnect"
2005-11-07 17:11:35 +00:00
Jeff Hill
4fee01b0c7
try INADD_NONE:0 based UDP "disconnect" on various OS
2005-11-07 17:02:20 +00:00
Jeff Hill
3dfe7043ba
try INADD_NONE based UDP "disconnect" on various OS
2005-11-07 16:53:35 +00:00
Jeff Hill
15cdbfdc8c
oops c++ comment in c code
2005-11-03 22:27:04 +00:00
Jeff Hill
5881fc0cfc
UDP disconnect to INADDR_LOOPBACK and port 0 because
...
a UDP connect to AF_UNSPEC only works with modern IP kernel
2005-11-03 22:23:09 +00:00
Jeff Hill
422fd9ebd0
use connect to AF_UNSPEC to not allow incomming messages to beacon sock
2005-11-01 20:55:33 +00:00
Jeff Hill
8e0f750509
shutdown read side of online notify socket
2005-10-26 23:25:11 +00:00
Jeff Hill
e300623cab
convert size_t to u long and use %lu for 64 bit arch
2005-10-26 22:00:04 +00:00
Jeff Hill
d42c47fa85
Added rsrv statistics fetch for vxStats
2005-09-23 15:12:26 +00:00
Jeff Hill
14a47a31e9
partial fix for mantis entry 160 - the following message is avoided by
...
shutting down the socket only if we are not certain if the errno is indicating that
the circuit hung up.
rsrv: socket shutdown error was Transport endpoint is not connected
2004-11-09 17:41:53 +00:00
Jeff Hill
1584471439
o fixed errno based diagnostic converting errno to string after errno was replaced
2004-09-22 18:55:17 +00:00
Jeff Hill
269acc7478
added AS write trap for put callback
2004-09-07 16:01:29 +00:00
Jeff Hill
2f33de21fe
avoid ioctl on closed socket during client rundown
2004-09-07 15:52:14 +00:00
Marty Kraimer
b4f40d0011
epicsStdioRedirect
2004-08-27 16:20:09 +00:00
Jeff Hill
75ddcbaf06
fixed problems with cleanup of partially created tcp client
2004-07-30 23:02:37 +00:00
Jeff Hill
da5bc3b820
disconnect servers that send missaligned protocol
2004-06-14 17:45:43 +00:00