Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API hang on a bogus call #297

Closed
ppearcy opened this issue Aug 5, 2010 · 3 comments
Closed

REST API hang on a bogus call #297

ppearcy opened this issue Aug 5, 2010 · 3 comments

Comments

@ppearcy
Copy link
Contributor

ppearcy commented Aug 5, 2010

Let me know if there are any questions.

Here is a test in python to reproduce. No need to have index test or doctype test setup.

from httplib import HTTPConnection

path = 'i/test/test/101-DSTENVIRONMENT01\n-143352270'
body = '{"blah": "101"}'

conn = HTTPConnection('dm-adsearchd101', 9200)
conn.request('PUT', path, body)
response = conn.getresponse()

print ('passed')

@kimchy
Copy link
Member

kimchy commented Aug 11, 2010

recreated this, and its simply a problem parsing this line in the http layer. For now, what I am going to do is to close the open connection when such an exception happens, so at the very least, it will not hang.

@kimchy
Copy link
Member

kimchy commented Aug 11, 2010

REST API hang on a bogus call, closed by fbea92e.

@ppearcy
Copy link
Contributor Author

ppearcy commented Aug 11, 2010

Thank you!!!

mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
…equest elastic#297)

Change postgress instance type to db.t4g.medium from db.m5.large

* Change postgress instance type to db.t4g.medium from db.m5.large


Approved-by: Marlon Jackson
costin pushed a commit that referenced this issue Dec 6, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants