Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP-2240 HttpException: Headers size exceeded the of '8192' bytes #156

Open
evanweible-wf opened this issue Jun 21, 2016 · 2 comments
Open

Comments

@evanweible-wf
Copy link
Contributor

evanweible-wf commented Jun 21, 2016

@jayudey-wf reported that when trying to download a large file via the file transfer example, this error may be encountered on the server:

Unhandled exception:
HttpException: Headers size exceeded the of '8192' bytes
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:883)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

Need to do some research on maximum header & body sizes. Need to catch this error in the server code and fail gracefully and add some documentation to the example about it.

@evanweible-wf evanweible-wf modified the milestone: 2.6.1 Jun 21, 2016
@evanweible-wf evanweible-wf modified the milestones: 2.6.1, 2.6.2 Jun 22, 2016
@evanweible-wf evanweible-wf modified the milestone: 2.7.2 Jun 29, 2016
@evanweible-wf evanweible-wf modified the milestone: 3.0.1 Jul 22, 2016
@charliekump-wf charliekump-wf changed the title HttpException: Headers size exceeded the of '8192' bytes CP-2240 HttpException: Headers size exceeded the of '8192' bytes Jul 28, 2016
@thosakwe
Copy link

Were you ever able to fix this issue on your end? I'm encountering the same in Angel
when proxying pub serve. I feel like it has to do with this issue:

dart-lang/sdk#28251

I don't think using a reusable buffer is the solution - that's what Angel already does, and still encounters this error.

Cheers!

@evanweible-wf
Copy link
Contributor Author

@thosakwe unfortunately I haven't looked into it any further - it is only an issue with our example server and not with this package so it hasn't been a high priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants