Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9202415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:15:11+00:00 2026-06-17T23:15:11+00:00

I am having trouble with some Http Client connections returning NoHttpResponseException about 1 in

  • 0

I am having trouble with some Http Client connections returning NoHttpResponseException about 1 in 3 times.

My hypothesis is that the firewall is closing idle connections (not unusual).
I would like to use curl to mimic this.

I have been trying something like this but very likely the connection never goes idle

curl --keepalive-time 60 --limit-rate 128B $URL $URL $URL $URL $URL $URL $URL $URL $URL $URL $URL $URL $URL $URL

What I would like is something akin to

curl $URL
sleep 10
curl $URL    
sleep 20
curl $URL 
sleep 30
curl $URL 

Where each time (using some magic!) Curl reuses the same connection.

Is there any way to do this using curl (or wget) and not have to write a program to do it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:15:13+00:00Added an answer on June 17, 2026 at 11:15 pm

    There is no such thing you couldn’t do with netcat.

    REQ="GET / HTTP/1.1\nHost: localhost\nAccept: *\n\n"
    (echo -ne $REQ; sleep 1; echo -ne $REQ; sleep 2; echo -ne $REQ) | netcat localhost 80
    

    Change the path to something different than / if you need it…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble with some of my rubygems, in particular those that use
Im having some trouble with this clickable row using javascript: http://www.fpmnky.com/test.php The curser doesnt
I'm having some trouble POSTing data from a client machine to our internal site
I'm having some strange trouble with pamie: http://pamie.sourceforge.net/ . I have written a script
I'm having trouble with some whitespace above my table. I have a table that
I'm having some trouble setting the HTTP Authorization header for a web service request
Im having some trouble parsing http headers. Here is my problem: char resp[] =
having some trouble with this can't understand why it won't work properly. http://host.philmadelphia2.com/~clare/order/ when
I'm having trouble using Zend HTTP on a URL: $client = new Zend_Http_Client('http://xxfire_killumiex.api.channel.livestream.com/2.0/info.json'); $feed
I am having trouble with some javascript. The code snippet below creates a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.