wget behaves differently on cygwin and centos

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












On cygwin this command works as expected and exits immediately:



wget --post-file oryxblock.2018-10-10_20_40-07_591.204.txt --output-document - --header "Content-Type: text/csv" http://htm-psycho-402.zxz.su:8080/ingest

--2018-10-11 11:51:09-- http://htm-psycho-402.zxz.su:8080/ingest
Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
HTTP request sent, awaiting response... 204
2018-10-11 11:51:09 (0.00 B/s) - written to stdout [0]


On Centos wget waits for 60 seconds before continuing with the same arguments:



--2018-10-11 08:38:58-- http://htm-psycho-402.zxz.su:8080/ingest
Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
HTTP request sent, awaiting response... 204
Length: unspecified
Saving to: ‘STDOUT’

[ <=> ] 0 --.-K/s in 60s

2018-10-11 08:39:58 (0.00 B/s) - written to stdout [0]


why does it happen?









share

























    up vote
    0
    down vote

    favorite












    On cygwin this command works as expected and exits immediately:



    wget --post-file oryxblock.2018-10-10_20_40-07_591.204.txt --output-document - --header "Content-Type: text/csv" http://htm-psycho-402.zxz.su:8080/ingest

    --2018-10-11 11:51:09-- http://htm-psycho-402.zxz.su:8080/ingest
    Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
    Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
    HTTP request sent, awaiting response... 204
    2018-10-11 11:51:09 (0.00 B/s) - written to stdout [0]


    On Centos wget waits for 60 seconds before continuing with the same arguments:



    --2018-10-11 08:38:58-- http://htm-psycho-402.zxz.su:8080/ingest
    Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
    Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
    HTTP request sent, awaiting response... 204
    Length: unspecified
    Saving to: ‘STDOUT’

    [ <=> ] 0 --.-K/s in 60s

    2018-10-11 08:39:58 (0.00 B/s) - written to stdout [0]


    why does it happen?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      On cygwin this command works as expected and exits immediately:



      wget --post-file oryxblock.2018-10-10_20_40-07_591.204.txt --output-document - --header "Content-Type: text/csv" http://htm-psycho-402.zxz.su:8080/ingest

      --2018-10-11 11:51:09-- http://htm-psycho-402.zxz.su:8080/ingest
      Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
      Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
      HTTP request sent, awaiting response... 204
      2018-10-11 11:51:09 (0.00 B/s) - written to stdout [0]


      On Centos wget waits for 60 seconds before continuing with the same arguments:



      --2018-10-11 08:38:58-- http://htm-psycho-402.zxz.su:8080/ingest
      Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
      Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
      HTTP request sent, awaiting response... 204
      Length: unspecified
      Saving to: ‘STDOUT’

      [ <=> ] 0 --.-K/s in 60s

      2018-10-11 08:39:58 (0.00 B/s) - written to stdout [0]


      why does it happen?









      share













      On cygwin this command works as expected and exits immediately:



      wget --post-file oryxblock.2018-10-10_20_40-07_591.204.txt --output-document - --header "Content-Type: text/csv" http://htm-psycho-402.zxz.su:8080/ingest

      --2018-10-11 11:51:09-- http://htm-psycho-402.zxz.su:8080/ingest
      Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
      Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
      HTTP request sent, awaiting response... 204
      2018-10-11 11:51:09 (0.00 B/s) - written to stdout [0]


      On Centos wget waits for 60 seconds before continuing with the same arguments:



      --2018-10-11 08:38:58-- http://htm-psycho-402.zxz.su:8080/ingest
      Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
      Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
      HTTP request sent, awaiting response... 204
      Length: unspecified
      Saving to: ‘STDOUT’

      [ <=> ] 0 --.-K/s in 60s

      2018-10-11 08:39:58 (0.00 B/s) - written to stdout [0]


      why does it happen?







      centos wget cygwin





      share












      share










      share



      share










      asked 2 mins ago









      stiv

      1722415




      1722415

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474727%2fwget-behaves-differently-on-cygwin-and-centos%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474727%2fwget-behaves-differently-on-cygwin-and-centos%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay