Commit Graph

324 Commits

Author SHA1 Message Date
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
Jeff Hill
ef04b81c74 disconnect clients that send missaligned protocol 2004-06-11 18:56:55 +00:00
Jeff Hill
5fc1e3217b workaround for borland bcc weirdness 2004-05-19 16:07:06 +00:00
Jeff Hill
c5db766b33 new functions that fetch on behalf host name and user name 2004-03-24 19:20:58 +00:00
Jeff Hill
36f9090897 new functions that fetch on behalf host name and user name 2004-03-24 19:02:56 +00:00
Jeff Hill
58d4f27307 new functions that fetch on behalf host name and user name 2004-03-24 18:56:55 +00:00
Jeff Hill
35f9e3dcbb fixed enobuf causes stuck send thread 2004-02-05 22:58:35 +00:00
Jeff Hill
b10a642321 ignore sigpipe and sigalrm 2004-02-02 18:31:53 +00:00
Jeff Hill
c49757c9b5 dont print message or wakeup receive thread from send thread
if its a receive thread initiated shutdown
2004-02-02 18:26:49 +00:00
Jeff Hill
4c2a8386a1 clean up better if we receive disconnect notification when sending 2004-01-30 01:35:55 +00:00
Jeff Hill
bc9c0eb526 fixed gnu warnings 2004-01-23 20:36:54 +00:00
Jeff Hill
2d41308609 hybernate send threads when there are enobuf problems 2004-01-22 20:37:20 +00:00
Jeff Hill
fbe397addb hybernate receive threads when there are enobuf problems 2004-01-22 20:31:21 +00:00
Jeff Hill
0437370e49 fixed TCP and UDP information too close together in casr 2004-01-15 18:52:40 +00:00
Janet B. Anderson
de70a70b1b Added COMPAT_313 macro for building/installing R3.13 compatability files. 2004-01-13 16:15:05 +00:00