Comments (2)
Hey, Sorry but I don't have any ideas. I thought maybe it should be a blacklisted header
https://github.com/taylorfinnell/awscr-signer/blob/master/src/awscr-signer/core/header_collection.cr#L16
But it does not appear to be in the official ruby client either
https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/lib/aws-sdk-s3/presigner.rb#L13
But I don't see any specific handling of that header in this repo, or in the official ones
from awscr-signer.
I just saw #56 earlier this afternoon and realized I forgot to point out here that this signer was indeed having issues with Connection: keep-alive
on AWS, not just on DO Spaces. It's just that I primarily use DO services so I just didn't see it happen on AWS as much, but I did notice it in a couple of my apps that use SQS.
This is blocking some important functionality in one of my new apps, so I'm trying Carl's suggested fix from #56 and I haven't gotten that error since I deployed it.
It makes me wonder if HTTP::Client
reuses HTTP::Request
instances when Connection: keep-alive
is set. IIRC, HTTP::Server
does reuse request and/or response instances with Connection: keep-alive
to mitigate GC pressure, so I wouldn't be surprised if this is actually a bug where HTTP::Client
doesn't requests properly.
from awscr-signer.
Related Issues (11)
- S3 pre-signed download url HOT 1
- SES send email HOT 1
- src/awscr-signer/core/hmac.cr won't compile with Crystal 0.28 HOT 1
- Issue with Crystal 0.30.0 HOT 5
- version mismatch between tag and shard HOT 2
- hexdigest is undefined in Crystal 0.36.0
- InvalidSignatureException when keep-alive connection is retried HOT 1
- Release new version to support newer crystal HOT 4
- examples/request_signing_v4.cr works on Mac OS X but not on Linux HOT 3
- Support for Instance IAM credential fallback.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awscr-signer.