Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I have a strange problem with perl clients to web service at work.

The service serves large files to windows clients running on many windows versions. The perl client under windows downloads the files using LWP. For historical reasons there are lots of different Perl versions. The server is either Perl + Mason + Apache2 or Python Tornado without a web server, in both cases inside a Docker container.

I have discovered that on recent windows versions, if the client is running Perl 5.24.0 or older, then on some occasions data sent from the Python server is lost, while apparently identical data from the Perl + Mason server arrives correctly. It looks like the http request is sent correctly, the server sends the reply, but the client does not receive it. I suspect that there is some sort of buggy interaction between Perl and the windows TCP/IP stack, but I donít really know.

If I upgrade Perl to 5.24.1, then the bug disappears. I have observed this with both the Strawberry and Active State distributions of Perl.

So I am trying to work out what changed in the windows networking between the 5.24.0 and 5.24.1 versions of Perl. Naturally I have read the relevant perldelta, but I canít see any changes that look likely, I have also looked at the source code diff in git, but there are too many changes to read easily, and as far as I can tell, no windows specific changes. I canít find a list of bugs closed in 5.24.1.

Any ideas what the significant change is? If you could point me to a bug that was closed in 5.24.1 then that would be great.

In reply to Windows networking changes in perl 5.24.1 by chrestomanci

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2022-12-07 17:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found