seaweedfs/weed/s3api
Chris Lu dbabdd418e add unhandled request auth type
fix

2020-02-18 11:43:57.396699 I | http: panic serving 172.28.0.43:50658: runtime error: invalid memory address or nil pointer dereference
goroutine 595 [running]:
net/http.(*conn).serve.func1(0xc0001fe3c0)
    /usr/lib/go/src/net/http/server.go:1767 +0x13b
panic(0x55c4e35f3820, 0x55c4e48b3c40)
    /usr/lib/go/src/runtime/panic.go:679 +0x1b6
github.com/chrislusf/seaweedfs/weed/s3api.(*IdentityAccessManagement).authRequest(0xc0004b84e0, 0xc000115900, 0xc0000bb650, 0x1, 0x1, 0x55c4e399d740)
    /go/src/github.com/chrislusf/seaweedfs/weed/s3api/auth_credentials.go:143 +0x11c
github.com/chrislusf/seaweedfs/weed/s3api.(*IdentityAccessManagement).Auth.func1(0x55c4e3994c40, 0xc0007808c0, 0xc000115900)
    /go/src/github.com/chrislusf/seaweedfs/weed/s3api/auth_credentials.go:111 +0x5e
net/http.HandlerFunc.ServeHTTP(0xc0004b87e0, 0x55c4e3994c40, 0xc0007808c0, 0xc000115900)
    /usr/lib/go/src/net/http/server.go:2007 +0x46
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0004ba000, 0x55c4e3994c40, 0xc0007808c0, 0xc000115700)
    /root/go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0xe4
net/http.serverHandler.ServeHTTP(0xc00011e0e0, 0x55c4e3994c40, 0xc0007808c0, 0xc000115700)
    /usr/lib/go/src/net/http/server.go:2802 +0xa6
net/http.(*conn).serve(0xc0001fe3c0, 0x55c4e399d680, 0xc000894180)
    /usr/lib/go/src/net/http/server.go:1890 +0x877
created by net/http.(*Server).Serve
    /usr/lib/go/src/net/http/server.go:2927 +0x390
2020-02-18 09:16:04 -08:00
..
AmazonS3.xsd add list all my buckets 2018-07-18 02:37:09 -07:00
auth_credentials_test.go configuration stores the identity list 2020-02-17 12:31:59 -08:00
auth_credentials.go add unhandled request auth type 2020-02-18 09:16:04 -08:00
auth_signature_v2.go add v2 support 2020-02-09 16:02:05 -08:00
auth_signature_v4.go unused 2020-02-09 18:02:17 -08:00
auto_signature_v4_test.go add v2 support 2020-02-09 16:02:05 -08:00
chunked_reader_v4.go add streaming v4 2020-02-09 17:42:17 -08:00
custom_types.go weed s3: generate time format acceptable by aws cli s3 2019-04-01 16:13:29 -07:00
filer_multipart_test.go add namespace for s3 2019-02-27 00:21:37 -08:00
filer_multipart.go change uuid package 2019-11-18 19:24:37 -08:00
filer_util.go grpc send error via response instead of grpc error 2020-01-25 09:17:19 -08:00
README.txt add list all my buckets 2018-07-18 02:37:09 -07:00
s3api_auth.go support acl 2020-02-09 14:30:02 -08:00
s3api_bucket_handlers_test.go add namespace for s3 2019-02-27 00:21:37 -08:00
s3api_bucket_handlers.go add context.Context 2019-03-15 17:20:24 -07:00
s3api_errors.go add v2 support 2020-02-09 16:02:05 -08:00
s3api_handlers.go use the same context object in order to retry 2020-01-26 14:42:11 -08:00
s3api_object_copy_handlers.go properly close http response 2020-02-14 09:09:15 -08:00
s3api_object_handlers.go Merge pull request #1200 from chrislusf/add_s3_acl 2020-02-17 12:53:30 -08:00
s3api_object_multipart_handlers.go Merge pull request #1200 from chrislusf/add_s3_acl 2020-02-17 12:53:30 -08:00
s3api_objects_list_handlers_test.go fix tests 2019-04-01 23:59:31 -07:00
s3api_objects_list_handlers.go filer: streaming file listing 2019-12-13 00:22:37 -08:00
s3api_server.go add v2 support 2020-02-09 16:02:05 -08:00
s3api_test.go s3: add s3 copy 2020-01-31 00:11:12 -08:00
s3api_xsd_generated.go s3 api: fix listbucket common_prefixes issue 2019-09-29 21:15:40 +08:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd