8000 restrict size of data being returned · Issue #130 · afeld/jsonp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
8000
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
restrict size of data being returned #130
Open
@afeld

Description

@afeld

Outbound bandwidth is expensive - need to put a cap on what's returned. The check will probably need to go right in here:

jsonp/server/router.js

Lines 61 to 70 in cbd2297

promise
.then(function(response) {
let responseHeaders = passBackHeaders(response.headers);
res.set(responseHeaders);
return {
status: response.statusCode,
body: response.body
};
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0