Ticket #3765 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Cron creates infinite Loop when using Wordpress with SSL

Reported by: dragonhard Assigned to: rob1n
Priority: high Milestone: 2.2
Component: General Version: 2.1
Severity: major Keywords: has-patch commit
Cc:

Description

In Wordpress 2.1 the Cron.php calles every second itself and blockes the server. This only happens when using the Wordpress-Blog with ssl under https. The infinite Loop causes serious problems in the server performance. Problem appeared since Wordpress 2.1.

Attachments

cron.php.diff (1.3 kB) - added by dragonhard on 02/10/07 21:52:11.
Patch for infinite SSL-Loop in Wordpress 2.1
3765.diff (0.9 kB) - added by rob1n on 03/07/07 01:43:31.
3765.2.diff (0.6 kB) - added by rob1n on 03/07/07 04:08:56.

Change History

02/10/07 21:52:11 changed by dragonhard

  • attachment cron.php.diff added.

Patch for infinite SSL-Loop in Wordpress 2.1

02/10/07 23:13:47 changed by filosofo

Could you be missing wp-cron.php?

See this: #3713

02/14/07 07:35:03 changed by dragonhard

No. wp-cron.php is not missing....

02/21/07 15:02:09 changed by Nazgul

  • keywords changed from ssl to ssl has-patch.
  • milestone changed from 2.1.1 to 2.1.2.

2.1.1 is out, so bumping the milestone to 2.1.2.

03/07/07 01:38:48 changed by rob1n

  • owner changed from anonymous to rob1n.
  • status changed from new to assigned.

While the patch looks sound, I think the if/else's are a little weird. I'll work on a new patch.

03/07/07 01:43:31 changed by rob1n

  • attachment 3765.diff added.

03/07/07 01:43:50 changed by rob1n

  • keywords changed from ssl has-patch to has-patch.

03/07/07 01:47:58 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4980]) Fix spawning with SSL. Props dragonhard and rob1n. fixes #3765

03/07/07 03:46:03 changed by foolswisdom

  • status changed from closed to reopened.
  • resolution deleted.

Robert Deaton to wp-hackers 7:04 pm: This needs a check to make sure OpenSSL support is compiled in. Checking for the existence of one of the functions at http://php.net/openssl should do.

03/07/07 03:47:23 changed by rob1n

  • keywords deleted.

I'm on it.

03/07/07 04:08:56 changed by rob1n

  • attachment 3765.2.diff added.

03/07/07 04:09:28 changed by rob1n

  • keywords set to has-patch commit.

Added a check for function_exists('openssl_open').

03/07/07 04:09:43 changed by rob1n

  • milestone changed from 2.1.3 to 2.2.

03/07/07 04:09:54 changed by rob1n

Fools: 2.1.x or 2.2?

03/07/07 04:10:11 changed by rob1n

  • status changed from reopened to new.

03/07/07 04:10:16 changed by rob1n

  • status changed from new to assigned.

03/07/07 04:16:08 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4984]) Make sure openssl is available. Props Robert Deaton and rob1n. fixes #3765