Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into devel

ulab-next
speidy 10 years ago
commit 744cdf9da1

@ -121,6 +121,8 @@ struct xrdp_client_info
int mcs_connection_type;
int mcs_early_capability_flags;
int max_fastpath_frag_bytes;
};
#endif

File diff suppressed because it is too large Load Diff

@ -101,7 +101,14 @@ xrdp_fastpath_recv(struct xrdp_fastpath *self, struct stream *s)
int APP_CC
xrdp_fastpath_init(struct xrdp_fastpath *self, struct stream *s)
{
init_stream(s, 32 * 1024);
int bytes;
bytes = self->session->client_info->max_fastpath_frag_bytes;
if (bytes < 32 * 1024)
{
bytes = 32 * 1024;
}
init_stream(s, bytes);
return 0;
}

Loading…
Cancel
Save