Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #40 (new Defect)

Opened 4 years ago

Last modified 10 months ago

Need incremental iCalendar parsing to avoid blocking

Reported by: dreid@… Owned by: glyph@…
Priority: 2: Expected Milestone: CalendarServer-3.x
Component: Calendar Server Severity: Performance
Keywords: Cc:

Description (last modified by wsanchez@…) (diff)

http_PUT blocks while storing the calendar data, and it can take up to 5 minutes for a request involving a 208K ics file to complete. This is obviously a pretty good place for a DoS to happen. I suspect the culprit is the calendar validation, this stuff should be deferred to a thread.

Note we have a similar problem with XML; we probably need to switch to ElementTree or similar.

Change History

Changed 4 years ago by wsanchez@…

  • priority changed from 1: Blocker to 2: Expected
  • status changed from new to assigned
  • severity changed from Serious to Performance
  • milestone set to Preview 1

Ew, yes.

Changed 4 years ago by wsanchez@…

  • description modified (diff)

We're going to need an iCalendar parser that can do incremental parsing, which means adding that capability to vobject. Not sure how much work that's going to be...

Changed 4 years ago by wsanchez@…

  • summary changed from http_PUT blocks to Need incremental iCalendar parsing to avoid blocking

See #16

Changed 4 years ago by wsanchez@…

  • milestone changed from Preview 1 to Version One

Changed 3 years ago by wsanchez@…

  • milestone changed from 1.0 to 2.0

Changed 10 months ago by wsanchez@…

  • milestone changed from CalendarServer-2.x to CalendarServer-3.x

Changed 10 months ago by wsanchez@…

  • owner changed from wsanchez@… to glyph@…
  • status changed from assigned to new
Note: See TracTickets for help on using tickets.