Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: determine negotiated value for MultifragmentUpdate::max_request_size #318

Open
elmarco opened this issue Dec 4, 2023 · 0 comments
Labels
A-server Area: RDP server enhancement New feature or request help wanted Extra attention is needed investigate Further investigation required

Comments

@elmarco
Copy link
Contributor

elmarco commented Dec 4, 2023

max_request_size: u32::MAX,

is rejected by msctc, the client will disconnect. (presumably, it tries to allocate that much buffer space upfront)

The value was also adjusted in FreeRDP: FreeRDP/FreeRDP#1313

There doesn't seem to be a way to negotiate that value with the client beforehand.

@CBenoit CBenoit added enhancement New feature or request help wanted Extra attention is needed A-server Area: RDP server labels Dec 4, 2023
elmarco added a commit to elmarco/IronRDP that referenced this issue Dec 5, 2023
u32::MAX is too large for mstsc, it fails to connect.
See also: Devolutions#318

16Mb is the value use by freerdp
sample/server (FreeRDP/FreeRDP#1313) and it's
probably fine for now.

Signed-off-by: Marc-André Lureau <[email protected]>
elmarco added a commit to elmarco/IronRDP that referenced this issue Dec 5, 2023
u32::MAX is too large for mstsc, it fails to connect.
See also: Devolutions#318

16Mb is the value use by freerdp
sample/server (FreeRDP/FreeRDP#1313) and it's
probably fine for now.

Signed-off-by: Marc-André Lureau <[email protected]>
CBenoit pushed a commit that referenced this issue Dec 5, 2023
u32::MAX is too large for mstsc, it fails to connect.
See also: #318

16Mb is the value use by freerdp
sample/server (FreeRDP/FreeRDP#1313) and it's
probably fine for now.

Signed-off-by: Marc-André Lureau <[email protected]>
@CBenoit CBenoit added the investigate Further investigation required label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-server Area: RDP server enhancement New feature or request help wanted Extra attention is needed investigate Further investigation required
Development

No branches or pull requests

2 participants