Commit 7f8e5ee1 authored by mku's avatar mku

ZP-233 #comment Nokia N9 MeeGo requests <Range> in ItemOperations - this...

ZP-233 #comment Nokia N9 MeeGo requests <Range> in ItemOperations - this should prevent the server running out of memory. Range still has to be implemented. #time 20m

git-svn-id: https://z-push.org/svn/z-push/trunk@1480 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent fa294931
......@@ -160,6 +160,12 @@ class ItemOperations extends RequestProcessor {
return false;
}
if(self::$decoder->getElementStartTag(SYNC_ITEMOPERATIONS_RANGE)) {
$operation["cpo"]->BodyPreference($bptype)->SetRange(self::$decoder->getElementContent());
if(!self::$decoder->getElementEndTag())
return false;
}
if(!self::$decoder->getElementEndTag())
return false;//SYNC_AIRSYNCBASE_BODYPREFERENCE
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment