browserify / browserify/http-browserify

globalAgent not defined

未关闭
#86 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
245
派生
104
PR 合并指标
30 天内没有已合并 PR

描述

Hi,
I am using browserify, and I am facing an issue with some modules (example node-couchdb) that require the http module.
The error is Cannot set property 'maxSockets' of undefined
After some debugging, it seems that globalAgent is not defined in the http-browserify module.
Do you have any hints regarding this issue? Do you think this can fixed on your side?
Thank you

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先使用 browserify、node-couchdb 和 http 模块重现错误,然后检查 http-browserify 模块如何处理 globalAgent。确认 maxSockets 的预期行为,并验证修复完成后示例不再抛出异常。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
networking
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。