GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Store only the value of a file in gcloud-node configstore file · Issue #693 · googleapis/google-cloud-node Closed Labels api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionI'm not sure if this was a change in Node >v0.10 or something that was always sneaking under the radar, but the story goes... We use a config .yml file that enables resumable uploads to work without the user having to understand what's going on under the hood. (Documented here). It looks like we're having a potentially huge leak here: https://github.com/GoogleCloudPlatform/gcloud-node/blob/61ffa82c78cce44ed28b94d8a857c7c051cae9d0/lib/storage/file.js#L1394 var firstChunk = chunk.slice(0, 16); // ... configStore.set(that.name, { uri: reqOpts.uri, firstChunk: firstChunk });
Here's the fix: var firstChunk = chunk.slice(0, 16).valueOf(); PR coming before today's release. Activity
MetadataMetadataAssigneesLabelsapi: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |