I’m stuck on the closing the persistant connections. the test says the connection is still open even though I have the header and I exit the while loop.
Do any one knows how do they check if the connection is open?
I’m stuck on the closing the persistant connections. the test says the connection is still open even though I have the header and I exit the while loop.
Do any one knows how do they check if the connection is open?
Hey @Tommer-Raz, could you upload your code to GitHub and share the link? It will be much easier to debug if I can run it directly.
Here you go:
@Tommer-Raz, you’ll also need to explicitly call conn.close()
to properly close the connection.
Let me know if you’d like further clarification!
@andy1li okay thanks that helped a lot!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.