#47 Redundant loading of Compress::ZLib

0.60
closed-works-for-me
nobody
None
5
2004-09-27
2004-05-25
Anonymous
No

If SOAP client code already is using Compress::ZLib for
other reasons, and SOAP tries to load it for compressed
HTTP transport, then redefinition warnings come up.
The module should check if it is already loaded.

See http://rt.cpan.org/NoAuth/Bug.html?id=6365

Discussion

  • Byrne Reese

    Byrne Reese - 2004-09-27

    Logged In: YES
    user_id=28043

    I have been unable to reproduce this bug in 0.55, 0.60a, or
    the next release 0.65. I have tested a client and server
    using "#!/usr/bin/perl -W"

    No warning about Compress::Zlib of any kind appear in log
    files of STDERR of STDOUT.

    I ask that the reporter of this bug provide me with
    additional code that will help reproduce this bug - because
    right now, I can't.

    This is the code I used (both a require and a use):

    #!/usr/bin/perl -W
    # try each of the following
    require Compress::Zlib;
    #use Compress::Zlib;
    use SOAP::Lite +trace => qw(debug);
    my $client = SOAP::Lite
    ->uri("urn:foo")
    ->proxy("http://localhost/", options =>
    {compress_threshold => 1})
    ->someMethod();

     
  • Byrne Reese

    Byrne Reese - 2004-09-27
    • status: open --> open-works-for-me
     
  • Byrne Reese

    Byrne Reese - 2004-09-27
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks