#127 Error with ENV{EXPECT}

closed-fixed
Transport (26)
4
2007-10-06
2007-07-09
Anonymous
No

I am running perl 5.8.5 on Red Hat ES 4.0 with SOAP::Lite 0.69.

I am getting this message in my apache 2 error log
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.5/SOAP/Transport/HTTP.pm line 411.

It refers to this line.
if ($ENV{EXPECT} =~ /\b100-Continue\b/i) {

I am using cgi for the SOAP server. My guess is that this environment variable doesn't exist.

Discussion

  • Martin Kutter

    Martin Kutter - 2007-10-01

    Logged In: YES
    user_id=884175
    Originator: NO

    Just adding a "exists $ENV{EXPECT} &&" before should fix this.

    But it's just a warning.

     
  • Martin Kutter

    Martin Kutter - 2007-10-01
    • priority: 5 --> 4
    • assigned_to: byrnereese --> nobody
     
  • Martin Kutter

    Martin Kutter - 2007-10-06

    Logged In: YES
    user_id=884175
    Originator: NO

    fixed in CVS.

     
  • Martin Kutter

    Martin Kutter - 2007-10-06
    • assigned_to: nobody --> kutterma
    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks