Loading ...
Sorry, an error occurred while loading the content.

5300$PATCH_HTTP_KEEPALIVE documented incorrectly

Expand Messages
  • benegrimm
    Mar 27, 2006
    • 0 Attachment
      The $PATCH_HTTP_KEEPALIVE constant is documented as being off by
      default -- but at line 396 in SOAP/Lite.pm the value is set to 1.

      This is bad because it breaks LWP's default behavior concerning when
      and when not to redirect a request. In a simple single run program,
      this may not be a much of a problem, but under mod_perl it changes the
      expected behavior for other programs since the change persists.

      Please, change the default value of the constant, or update the docs,
      or change the patch to respect the settings of 'max_redirect' and
      'requests_redirectable' in LWP::UserAgent.