summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2014-03-04 14:11:02 -0800
committerjsorg71 <jay.sorg@gmail.com>2014-03-04 14:11:02 -0800
commit1ce75182afdf8a0fc5a44691dbada0fdc138d867 (patch)
tree5c6a169ac9707311c4a10e98215901846566a93f /xrdp
parent60dbacc9ffd3b2a9f1f523ecb6426042764233ee (diff)
parent866fde498efe893144b0b596999f18af90a743c3 (diff)
downloadxrdp-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.ini3
-rw-r--r--xrdp/xrdp_process.c1
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 */