Skip to content

Conversation

@brianvoss
Copy link
Contributor

@brianvoss brianvoss commented Jan 5, 2017

PR checklist

  • [√] Read the contribution guildelines.
  • [√] Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • [√] Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

This PR adds a Curl Connect Timeout setting to generated PHP API clients. This is desirable to prevent an app attempting to use a service that is down from hanging while waiting for a connection timeout. Fixes #4499
(details of the change, additional tests that have been done, reference to the issue for tracking, etc)

@brianvoss brianvoss changed the title Adding Curl connect timeout configuration to PHP generation templates #4499 Adding Curl connect timeout configuration to PHP generation templates Jan 5, 2017
Copy link
Contributor

@arnested arnested left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contribution to Swagger Codegen.

Your pull request looks good and useful.

@wing328, please merge.

@wing328 wing328 added this to the v2.2.2 milestone Jan 6, 2017
@wing328
Copy link
Contributor

wing328 commented Jan 6, 2017

@brianvoss thanks for the contribution.

@arnested thanks for reviewing the change.

@wing328 wing328 merged commit 43ab14b into swagger-api:master Jan 6, 2017
@wing328 wing328 changed the title #4499 Adding Curl connect timeout configuration to PHP generation templates [PHP] Adding Curl connect timeout configuration to PHP generation templates Feb 20, 2017
davidgri pushed a commit to davidgri/swagger-codegen that referenced this pull request May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants