Ticket #5855 (closed enhancement: fixed)
Optimize generic_ping function
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.5 |
| Component: | Optimization | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
The generic_ping function currently sends weblog_ping() a null value if there is an empty line in the ping_sites option. The regexp pattern in the function only replaces 2 or more empty lines with 1--it doesn't get rid of it altogether. There's no check anywhere down the line to stop the IXR class from trying to ping an empty string.
This restructure will address this problem and speed the function up at the same time.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


Don't ping empty strings.