Ticket #157 (closed defect: fixed)
HttpErrorMiddleware: Notify of dropped responses calling request errback
| Reported by: | daniel | Owned by: | daniel |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9 |
| Component: | code | Version: | 0.9 |
| Keywords: | Cc: | daniel pablo |
Description
When a requests is ignored by HttpErrorMiddleware? because response is non-200, spider hasn't a chance to be notified to react before discarting the request.
This is a problem with spiders that returns batches of requests, keeping a track of the pending count of requests to be processed until the next batch is returned. If some of the requests are ignored and spider isn't notified then spider lost the count, and it never schedule the next batch again.
Change History
Note: See
TracTickets for help on using
tickets.
