Skip to content

Commit cf2a7d5

Browse files
tegefaulkesCMCDragonkai
authored andcommitted
fix: reduced application protocal defaults to just ['http/0.9']
* Fixes #13 [ci skip]
1 parent d5be853 commit cf2a7d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const clientDefault: QUICConfig = {
5353
initialMaxStreamsBidi: 100,
5454
initialMaxStreamsUni: 100,
5555
disableActiveMigration: true,
56-
applicationProtos: ['hq-interop', 'hq-29', 'hq-28', 'hq-27', 'http/0.9'],
56+
applicationProtos: ['http/0.9'],
5757
enableEarlyData: true,
5858
};
5959

@@ -74,7 +74,7 @@ const serverDefault: QUICConfig = {
7474
initialMaxStreamsBidi: 100,
7575
initialMaxStreamsUni: 100,
7676
disableActiveMigration: true,
77-
applicationProtos: ['hq-interop', 'hq-29', 'hq-28', 'hq-27', 'http/0.9'],
77+
applicationProtos: ['http/0.9'],
7878
enableEarlyData: true,
7979
};
8080

tests/QUICClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as testsUtils from './utils';
1010
import { tlsConfigWithCaArb } from './tlsUtils';
1111

1212
describe(QUICClient.name, () => {
13-
const logger = new Logger(`${QUICClient.name} Test`, LogLevel.DEBUG, [
13+
const logger = new Logger(`${QUICClient.name} Test`, LogLevel.WARN, [
1414
new StreamHandler(
1515
formatting.format`${formatting.level}:${formatting.keys}:${formatting.msg}`,
1616
),

0 commit comments

Comments
 (0)