File tree 3 files changed +17
-5
lines changed
3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 16
16
17
17
# Executables
18
18
* .exe
19
+ * -test- *
19
20
20
21
# DUB
21
22
.dub
@@ -32,6 +33,9 @@ __dummy.html
32
33
# crash file
33
34
core
34
35
36
+ # others
37
+ * .tar.gz
38
+
35
39
# Examples
36
40
examples /UnitTest /unittest
37
41
examples /H2C-Demo /h2c-client
@@ -41,5 +45,3 @@ examples/HttpDemo/http-server
41
45
examples /WebSocketDemo /websocket-client
42
46
examples /WebSocketDemo /websocket-server
43
47
examples /UnitTest /unittest- *
44
- * -test-default
45
-
Original file line number Diff line number Diff line change 6
6
"homepage" : " https://www.huntlabs.net" ,
7
7
"license" : " Apache-2.0" ,
8
8
"dependencies" : {
9
- "hunt-net" : " ~>0.4.6 "
9
+ "hunt-net" : " ~>0.4.10 "
10
10
},
11
11
"configurations" : [
12
12
{
Original file line number Diff line number Diff line change @@ -234,8 +234,8 @@ class HttpServer : AbstractLifecycle {
234
234
_server.close();
235
235
}
236
236
237
- version (HUNT_DEBUG) warning(" stopping the EventLoop..." );
238
- NetUtil.stopEventLoop();
237
+ // version(HUNT_DEBUG) warning("stopping the EventLoop...");
238
+ // NetUtil.stopEventLoop();
239
239
}
240
240
241
241
private void checkWorkingDirectory () {
@@ -332,6 +332,16 @@ class HttpServer : AbstractLifecycle {
332
332
return this ;
333
333
}
334
334
335
+ Builder ioThreadSize (uint value) {
336
+ _httpOptions.getTcpConfiguration().ioThreadSize = value;
337
+ return this ;
338
+ }
339
+
340
+ Builder workerThreadSize (uint value) {
341
+ _httpOptions.getTcpConfiguration().workerThreadSize = value;
342
+ return this ;
343
+ }
344
+
335
345
// Certificate Authority (CA) certificate
336
346
Builder setCaCert (string caFile, string caPassword) {
337
347
_tlsCaFile = caFile;
You can’t perform that action at this time.
0 commit comments