Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bilalkhan #1
Member since Oct 2016 · 81 posts · Location: Pakistan
Group memberships: Members
Show profile · Link to this post
Subject: XEP-0138 Stream Compresssion
Business Rules

The following business rules apply:

1) If stream compression is negotiated, it MUST be used in both directions.
2) TLS compression and stream compression SHOULD NOT be used simultaneously.
3) Stream compression MAY be offered after TLS negotiation if TLS compression is not used.

Our severer is supporting TLS functionality, point no 2 , however i do not mention the compression, while sending the tls stream to the clients, am assuming if my server start support tls, than tls compression will start automatically.


Is their any configuration on client side? for supporting tls compression?
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by bilalkhan:
Is their any configuration on client side? for supporting tls compression?

there is nothing to configure. Compression is build into the TLS standard. During TLS negotiation the server and client will also agree on the compression when supported on both ends.
You would have to trace the TLS handshake to find out if Windows and the SslStream enables TLS compression or not. I remember that older version of Windows SChannel did not support TLS compression. I don't know if this has changed these days.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS