This repository was archived by the owner on Dec 4, 2018. It is now read-only.
  
  
  
  
CURLOPT_INTERFACE setup breaks on proxy setup #109
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Dear authors!
We recently changed our network layout and had a complaint from one of our users, thet EpiTwitter wasn't working any more. As we found out, EpiOAuth tries to determine the interface address from the SERVER_ADDR as requested in your Issue #26. Unfortunately this breaks, if the hosting provider has a proxy setup and uses a different network interface for user communication as for proxy-webhost communication.
We have added a small patch to exclude the private address ranges as per RFC 1918. This is fixed in our issue #1. This is not a fool-proof fix, so you should add a switch to turn this funcionality on if somebody absolutely needs it. Otherwise the sysop should configure routing, so you don't need to touch interface binding.
Yours sincerely
Janos Pasztor
DotRoll Ltd.