Refuse to re-arm a DESTROYED xprt.

Safely resolves the race to re-arm a destroyed xprt handle which arises
when decoding and sendreply execute concurrently.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Trace harder in epoll_wait wakeup.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Streamline lock tracing.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Free x_vc_data in vc_shared_destroy.

Leak found by Rong zeng <rongzeng@us.ibm.com>,

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add EPOLLRDHUP to epoll set.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Forward xp_free_xprt on rendezvous.  Oy.

Leak found by Rong zeng <rongzeng@us.ibm.com>.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Define get/set ops for xp_free_xprt.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add missing include guards (xdr_vrec.h).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
xdr_inrec

Split out TCP inbound record marking.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Experimental RPC decode readahead.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Notice pipelined fragment header.

Take next 4 bytes of readahead as a pipelined fragment header,
it probably is.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Initial CMake support.

(This commit will be rebased when it actually works.)

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Include BSD-licensed Windows-compat stdint.h.

Used only when compiler is MSVC.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix misc/portable.h and rpc/types.h for MSVC.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add extra include dir, use in FREEBSD.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Windows fixes.

Include <process.h> for _endthreadex.  Disable CRT
security warnings.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Strict compile fixes.

A few were serious, all recent.
Ganesha CMake integration.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix ordering in top-level CMakelists.txt.

Property definitions need to be ahead of subdirs.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
The -real- strict compile fixes.

Unused variables zapped previously were unused (ahem)
because TIRPC_EPOLL was improperly not defined.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>