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

$PATCH_HTTP_KEEPALIVE documented incorrectly

Expand Messages
  • benegrimm
    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
    Message 1 of 1 , Mar 27 4:43 AM
    • 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.

      Thanks,
      Ben
    Your message has been successfully submitted and would be delivered to recipients shortly.