egg 3.24.0 → 3.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -359,7 +359,7 @@ module.exports = appInfo => {
359
359
  config.workerStartTimeout = 10 * 60 * 1000;
360
360
 
361
361
  /**
362
- * server timeout in milliseconds, default to 2 minutes.
362
+ * server timeout in milliseconds, default to 0 (no timeout).
363
363
  *
364
364
  * for special request, just use `ctx.req.setTimeout(ms)`
365
365
  *
package/index.d.ts CHANGED
@@ -330,7 +330,7 @@ declare module 'egg' {
330
330
  * @property {Number} queryString.parameterLimit - parameter number limit, default 1000
331
331
  * @property {String[]} enableTypes - parser will only parse when request type hits enableTypes, default is ['json', 'form']
332
332
  * @property {Object} extendTypes - support extend types
333
- * @property {String} onProtoPoisoning - Defines what action must take when parsing a JSON object with `__proto__`. Possible values are `'error'`, `'remove'` and `'ignore'`. Default is `'error'`, it will return `403` response when `Prototype-Poisoning` happen.
333
+ * @property {String} onProtoPoisoning - Defines what action must take when parsing a JSON object with `__proto__`. Possible values are `'error'`, `'remove'` and `'ignore'`. Default is `'error'`, it will return `400` response when `Prototype-Poisoning` happen.
334
334
  */
335
335
  bodyParser: {
336
336
  enable: boolean;
@@ -352,7 +352,7 @@ declare module 'egg' {
352
352
  form: string[];
353
353
  text: string[];
354
354
  };
355
- /** Default is `'error'`, it will return `403` response when `Prototype-Poisoning` happen. */
355
+ /** Default is `'error'`, it will return `400` response when `Prototype-Poisoning` happen. */
356
356
  onProtoPoisoning: 'error' | 'remove' | 'ignore';
357
357
  };
358
358
 
@@ -532,7 +532,7 @@ declare module 'egg' {
532
532
  onClientError(err: Error, socket: Socket, app: EggApplication): ClientErrorResponse | Promise<ClientErrorResponse>;
533
533
 
534
534
  /**
535
- * server timeout in milliseconds, default to 2 minutes.
535
+ * server timeout in milliseconds, default to 0 (no timeout).
536
536
  *
537
537
  * for special request, just use `ctx.req.setTimeout(ms)`
538
538
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egg",
3
- "version": "3.24.0",
3
+ "version": "3.24.1",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },