composer/composer — pull request #1977 by radnan (2013-06-06 19:13:06+00:00)
Title: [#1800] packages should inherit their repository's connection options

Currently packages do not use the custom **stream_context_options** provided by their repository. This aims to fix that by copying over the repository's custom connection options to the package's `extra` field. Then, when a downloader is used to grab the package, the extra connection options are injected into the downloader's remote file system.

This fix will take over the `extra.context-options` parameter, but still allow users to override any of those fields by use of `array_merge()`.