diff options
author | jsorg71 <jay.sorg@gmail.com> | 2014-03-04 14:11:02 -0800 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2014-03-04 14:11:02 -0800 |
commit | 1ce75182afdf8a0fc5a44691dbada0fdc138d867 (patch) | |
tree | 5c6a169ac9707311c4a10e98215901846566a93f /xrdp | |
parent | 60dbacc9ffd3b2a9f1f523ecb6426042764233ee (diff) | |
parent | 866fde498efe893144b0b596999f18af90a743c3 (diff) | |
download | xrdp-proprietary-1ce75182afdf8a0fc5a44691dbada0fdc138d867.tar.gz xrdp-proprietary-1ce75182afdf8a0fc5a44691dbada0fdc138d867.zip |
Merge pull request #111 from speidy/fastpath
libxrdp: Fastpath input
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp.ini | 3 | ||||
-rw-r--r-- | xrdp/xrdp_process.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini index 70c917e1..56357794 100644 --- a/xrdp/xrdp.ini +++ b/xrdp/xrdp.ini @@ -1,4 +1,3 @@ - [globals] # xrdp.ini file version number ini_version=1 @@ -50,6 +49,8 @@ grey=dedede #nego_sec_layer=0 allow_multimon=true +# fastpath - can be set to input / output / both / none +use_fastpath=input # # configure login screen # diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c index 0b4a06eb..ab4808b0 100644 --- a/xrdp/xrdp_process.c +++ b/xrdp/xrdp_process.c @@ -123,6 +123,7 @@ xrdp_process_get_pdu_bytes(const char *aheader) rv = -1; header = (const tui8 *) aheader; + if (header[0] == 0x03) { /* TPKT */ |