mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-15 10:55:27 +01:00
move button, accept compression under threshold
This commit is contained in:
parent
c1846b9a64
commit
98f8417371
@ -113,9 +113,7 @@ public class CompressionCodec extends MessageToMessageCodec<ByteBuf, ByteBuf> {
|
||||
return;
|
||||
}
|
||||
|
||||
if (claimedUncompressedSize < threshold) {
|
||||
throw new DecoderException("Badly compressed packet - size of " + claimedUncompressedSize + " is below server threshold of " + threshold);
|
||||
}
|
||||
// 1.18 clients now accept compressed packets under threshold...?
|
||||
if (claimedUncompressedSize > UNCOMPRESSED_CAP) {
|
||||
throw new DecoderException("Badly compressed packet - size of " + claimedUncompressedSize + " is larger than maximum of " + UNCOMPRESSED_CAP);
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ script-src 'self' https://*.cloudflare.com/ https://alcdn.msauth.net/ https://*.
|
||||
<hr>
|
||||
<p>Listening to frontend logins from: <span id="listening"></span></p>
|
||||
<div id="actions">
|
||||
<button id="en_notific" type="button" class="btn btn-primary">Enable notifications</button>
|
||||
<button id="listen_continue" type="button" class="btn btn-primary">Listen to </button>
|
||||
<button id="listen_premium" type="button" class="btn btn-primary">Listen to premium login</button>
|
||||
<button id="listen_offline" type="button" class="btn btn-primary">Listen to offline mode login</button>
|
||||
@ -114,6 +113,9 @@ script-src 'self' https://*.cloudflare.com/ https://alcdn.msauth.net/ https://*.
|
||||
<button class="btn btn-primary" type="submit">Save</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<button id="en_notific" type="button" class="btn btn-primary">Enable browser notifications</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div aria-labelledby="accounts-tab" class="tab-pane fade" id="accounts">
|
||||
|
Loading…
Reference in New Issue
Block a user