wsky / top-link

embedded duplex multi-channel endpoint and connection management for c#/java/...
6 stars 1 forks source link

improve remoting protocol that payloadLength should contain transportHeaders #57

Open wsky opened 11 years ago

wsky commented 11 years ago

21

in tcpchannel, header is short that can be sent in one packet, but transportheaders maybe not, it can be course blocked and IO-worker maybe wait until got all data or maybe got error that not got completely data

| premable | | version | | operation | | content-length | | transportheaders | |content |