commit icon indicating copy to clipboard operation
commit copied to clipboard

Raise error ERR_FR_MAX_BODY_LENGTH_EXCEEDED with big file size target

Open yui-Kitamura opened this issue 2 years ago • 3 comments

like generated jar file, the big file size commit target will cause ERR_FR_MAX_BODY_LENGTH_EXCEEDED then failed to commit

yui-Kitamura avatar Mar 20 '23 04:03 yui-Kitamura

ref https://github.com/axios/axios/issues/4888

yui-Kitamura avatar Mar 20 '23 05:03 yui-Kitamura

https://axios-http.com/docs/req_config by default config,

 // `maxContentLength` defines the max size of the http response content in bytes allowed in node.js
  maxContentLength: 2000,

  // `maxBodyLength` (Node only option) defines the max size of the http request content in bytes allowed
  maxBodyLength: 2000,

yui-Kitamura avatar Mar 20 '23 06:03 yui-Kitamura

I made a PullRequest #17

yui-Kitamura avatar Apr 17 '23 10:04 yui-Kitamura