php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #767 Persistent connections are never retried if server rebooted
Submitted: 1998-09-22 05:51 UTC Modified: 1998-11-03 21:06 UTC
From: steveh at brendata dot co dot uk Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.3 OS: Linux 2.1.120
Private report: No CVE-ID: None
 [1998-09-22 05:51 UTC] steveh at brendata dot co dot uk
If persistent connections are used and the sql/server is rebooted then apache must be restarted in order to reset the links.

Can the server code recognise the error and close and reopen the links?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-03 21:06 UTC] tommay
This should be fixed in sybase-ct.c 1.46.  However, if you're really
unlucky and you reboot your server at a bad time, it may take hours
before PHP figures out the server has been rebooted.  This can be
avoided by using timeouts and is on my list of things to do.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 03:01:27 2024 UTC