lix/src/libstore
Eelco Dolstra a1355917ec
Disable use of virtual hosting in aws-sdk-cpp
Recently aws-sdk-cpp quietly switched to using S3 virtual host URIs
(https://github.com/aws/aws-sdk-cpp/commit/69d9c53882), i.e. it sends
requests to http://<bucket>.<region>.s3.amazonaws.com rather than
http://<region>.s3.amazonaws.com/<bucket>. However this interacts
badly with curl connection reuse. For example, if we do the following:

1) Check whether a bucket exists using GetBucketLocation.
2) If it doesn't, create it using CreateBucket.
3) Do operations on the bucket.

then 3) will fail for a minute or so with a NoSuchBucket exception,
presumably because the server being hit is a fallback for cases when
buckets don't exist.

Disabling the use of virtual hosts ensures that 3) succeeds
immediately. (I don't know what S3's consistency guarantees are for
bucket creation, but in practice buckets appear to be available
immediately.)
2017-06-19 18:51:33 +02:00
..
binary-cache-store.cc Add a dummy Store::buildPaths() method 2017-05-01 13:43:34 +02:00
binary-cache-store.hh Add a dummy Store::buildPaths() method 2017-05-01 13:43:34 +02:00
build.cc macOS: Ugly hack to make the tests succeed 2017-06-19 14:26:05 +02:00
builtins.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
builtins.hh Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
crypto.cc Convert Settings to the new config system 2017-04-13 20:53:23 +02:00
crypto.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
derivations.cc Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
derivations.hh Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
download.cc Provide a builtin default for $NIX_SSL_CERT_FILE 2017-06-12 16:44:43 +02:00
download.hh Improve progress indicator 2017-05-16 16:09:57 +02:00
export-import.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
fs-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
gc.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
globals.cc Provide a builtin default for $NIX_SSL_CERT_FILE 2017-06-12 16:44:43 +02:00
globals.hh Add an option for extending the user agent header 2017-05-11 15:10:22 +02:00
http-binary-cache-store.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
legacy-ssh-store.cc build-remote: Fix fallback to other machines when connecting fails 2017-05-02 15:46:09 +02:00
local-binary-cache-store.cc S3BinaryCacheStore: Set Content-Type 2017-03-15 16:50:19 +01:00
local-fs-store.cc LocalStoreAccessor: Fix handling of diverted stores 2017-05-02 15:46:09 +02:00
local-store.cc macOS: Remove flags 2017-06-19 14:19:21 +02:00
local-store.hh Merge branch 'rework-options' of https://github.com/copumpkin/nix 2017-04-13 16:15:51 +02:00
local.mk Always use the Darwin sandbox 2017-06-06 18:44:49 +02:00
machines.cc Make the location of the build directory in the sandbox configurable 2017-05-05 17:45:22 +02:00
machines.hh Replace $NIX_REMOTE_SYSTEMS with an option "builder-files" 2017-05-02 15:46:09 +02:00
misc.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
nar-accessor.cc nar-accessor.cc: remove unused member NarIndexer::currentName 2017-05-15 19:41:59 +02:00
nar-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
nar-info-disk-cache.cc NarInfoDiskCache: Handle SQLite busy errors 2017-02-28 13:44:11 +01:00
nar-info-disk-cache.hh HttpBinaryCacheStore: Fix caching of WantMassQuery 2016-06-01 16:24:17 +02:00
nar-info.cc Ignore broken "Deriver: unknown-deriver" fields in .narinfo 2017-03-28 13:08:13 +02:00
nar-info.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
pathlocks.cc Fix assertion failure when a path is locked 2017-01-26 20:40:33 +01:00
pathlocks.hh openLockFile: Return an AutoCloseFD 2017-01-26 20:40:33 +01:00
profiles.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
profiles.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
references.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-fs-accessor.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
remote-fs-accessor.hh Factor a general remote FS accessor out of BinaryCacheStore 2016-09-02 14:24:34 -04:00
remote-store.cc build-remote: Fix fallback to other machines when connecting fails 2017-05-02 15:46:09 +02:00
remote-store.hh build-remote: Fix fallback to other machines when connecting fails 2017-05-02 15:46:09 +02:00
s3-binary-cache-store.cc Disable use of virtual hosting in aws-sdk-cpp 2017-06-19 18:51:33 +02:00
s3-binary-cache-store.hh Fix getS3Stats() 2016-10-06 17:00:52 +02:00
s3.hh Add aws-region param to S3 store URLs 2017-03-03 16:12:17 -05:00
sandbox-defaults.sb Always use the Darwin sandbox 2017-06-06 18:44:49 +02:00
sandbox-minimal.sb Always use the Darwin sandbox 2017-06-06 18:44:49 +02:00
sandbox-network.sb OS X sandbox: Improve builtin sandbox profile 2017-05-31 17:25:51 +02:00
schema.sql Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
serve-protocol.hh Provide default implementations for a couple of Store methods 2017-02-07 19:29:21 +01:00
sqlite.cc Improve SQLite busy handling 2017-02-28 13:59:11 +01:00
sqlite.hh Improve SQLite busy handling 2017-02-28 13:59:11 +01:00
ssh-store.cc Add a Config class to simplify adding configuration settings 2017-04-13 16:03:31 +02:00
ssh.cc build-remote: Ugly hackery to get build logs to work 2017-05-02 12:02:23 +02:00
ssh.hh build-remote: Ugly hackery to get build logs to work 2017-05-02 12:02:23 +02:00
store-api.cc Fix nix-copy-closure test 2017-05-29 16:08:56 +02:00
store-api.hh Change the meaning of info.ultimate 2017-05-11 13:31:23 +02:00
worker-protocol.hh Implement RemoteStore::queryMissing() 2017-04-06 18:40:19 +02:00