{"id":98,"date":"2010-12-14T03:47:57","date_gmt":"2010-12-14T11:47:57","guid":{"rendered":"http:\/\/blog.danielparnell.com\/?p=98"},"modified":"2010-12-14T03:47:57","modified_gmt":"2010-12-14T11:47:57","slug":"deltasync-decompression-progress","status":"publish","type":"post","link":"https:\/\/blog.danielparnell.com\/?p=98","title":{"rendered":"DeltaSync decompression progress"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; \">After quite some time I finally have some code that seems to decompress the message data returned from Windows Live via the DeltaSync protocol.<\/p>\n<div>The code is <b>AWFUL<\/b>, but the results are looking pretty good.<\/div>\n<div><\/div>\n<div>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtTQ0w9MA==<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-Message-Status: n:0<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-SID-PRA: Daniel Parnell &lt;me@danielparnell.com&gt;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-Message-Info: JGTYoYF78jHVrAq\/T4xfKLLpTvwPwE0t6g\/vyq6tyzbqln5iNnXwcSMg41wQCSulCxd5N8UB57Lq6un\/ug7i0YsGX30yo+pm<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Received: from randymail-a4.g.dreamhost.com ([208.97.132.207]) by bay0-mc8-f11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668);<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 63.0px; text-indent: -63.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span> Thu, 29 Jan 2009 16:06:38 -0800<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Received: from 192-168-1-101.tpgi.com.au (60-241-72-192.static.tpgi.com.au [60.241.72.192])<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>(using TLSv1 with cipher AES128-SHA (128\/128 bits))<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>(No client certificate requested)<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>by randymail-a4.g.dreamhost.com (Postfix) with ESMTP id 97A67194DD3<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>for &lt;danielparnell@live.com&gt;; Thu, 29 Jan 2009 16:06:26 -0800 (PST)<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Message-Id: &lt;8EEE4310-25CC-47BE-8FCB-330EBCD75A21@danielparnell.com&gt;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>From: Daniel Parnell &lt;me@danielparnell.com&gt;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>To: danielparnell@live.com<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Type: multipart\/mixed; boundary=Apple-Mail-33&#8211;583770588<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Mime-Version: 1.0 (Apple Message framework v930.3)<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Subject: more test messages<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Date: Fri, 30 Jan 2009 11:06:23 +1100<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-Mailer: Apple Mail (2.930.3)<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Return-Path: me@danielparnell.com<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>X-OriginalArrivalTime: 30 Jan 2009 00:06:38.0411 (UTC) FILETIME=[9F1AB1B0:01C9826E]<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>&#8211;Apple-Mail-33&#8211;583770588<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Type: text\/plain;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>charset=US-ASCII;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>format=flowed<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Transfer-Encoding: 7bit<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>this is another test message<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>&#8211;Apple-Mail-33&#8211;583770588<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Disposition: attachment;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>filename=&#8221;AGL Energy Advisor.zip&#8221;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Type: application\/zip;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>x-unix-mode=0644;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 11.0px Menlo\"><b><span style=\"white-space:pre\">\t<\/span>name=&#8221;AGL Energy Advisor.zip&#8221;<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Content-Transfer-Encoding: base64<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo; min-height: 13.0px\"><b><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>UEsDBAoAAAAAAANIPToAAAAAAAA********XABAAQUdMIEVuZXJneSBBZHZpc29yLmFwcC9VWAwA<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>q9WASWXVgEn1ARQAUEsDBAoAAAAAANFGNzoAAAAAAAA********mABAAQUdMIEVuZXJneSBBZHZp<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>c29yLmFwcC9fQ29kZVNpZ25hdHVyZS9VWAwAZdWASRnreEn1ARQAUEsDBBQACAAIAANIPToAAAAA<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>AAAAAAAAAAAzABAAQUdMIEVuZXJneSBBZHZpc29yLmFwcC9fQ29kZVNpZ25hdHVyZS9Db2RlUmVz<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>b3VyY2VzVVgMAK7VgEll1YBJ9QEUALWYWbOqOhbHn\/t+it37sa27VcSBrnPPLQUUEBFwYHjZxSRE<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>hmAIg376xj30PbdO8FR17X7RaMgvK4t\/1lrJtz+bNHmqAlQAmP3xPHwZPD8FmQd9kIV\/PB\/2y99n<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>z39+\/+3bP7ktu7dU\/ilPQIGf1MNCFtmn59\/7\/XmeJ0G\/z+25J1UWd\/unltHv88rz03OEcf7vfr+u<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>6xfn\/tSLB9P7g0VfRTAPEL7KLez3dsCLj\/3ndpp3+t\/Maf\/1gYe\/\/\/aPb3Fw\/X4CSVB869+b7T8f<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>Pe9dfBa2w6OXJEfw3J+7sMRHENQvGXA\/B7QjHOzcG9cef+FySztW2mipj6XEDYflXhiN5Pkf9+f6<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>nw8S0GyQJAbAkYqAF5Dx6+0llK+cPlkem7XB0bZyxVg6mjdY\/xLPBdgBSbfpMTjMx0dpYDkncMhp<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>YTUYORtFp3qA\/yV744DMAJkPO9gDYz7t3\/aTTW9gjvHhths4Q4dLo9lW+yVbh\/DN4SzMMIJJEiDy<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>HPlAPK98iOBJiDZwe3J2HKp4k42Hv55jhx0cdLtmyeiet7TOVapM48QoEm8rq24jzUyyazDASZAG<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>GS5e3qT3M7Ggx2yxGBYpxS91xh4qIFlq46gxkUggqnEoZif4MyYbTy+cSmP7JHNDxO7okTFY0LJ2<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>vpEMc+7afYlwmvxMkvjcnvWzPS0ulN3OvIl6qUv61qdrknCdssDISYDzkmfhz7CNGjnLycW8wNOu<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>NxkEKeNeaS0fwAEkwFzHi0MEy8wn0\/qaaNsLoPrmeImHjO33ArQyR9edRxNpOEIQpmSWLZin887C<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b>RhRsljU7WotpJfDVXspnD1ivkQOQj66t9IjUCAgYJAalhc1pv6DWdmDYUNCT5OQ9pEJct7pDUXD\/<\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b><br \/><\/b><\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo\"><b><\/p>\n<div style=\"font-family: Times; font-weight: normal; font-size: medium; \">And so on. &nbsp;Once I&#8217;ve got things cleaned up a bit more I hope to post what I&#8217;ve been able to come up with.<\/div>\n<div><\/div>\n<p><\/b><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>After quite some time I finally have some code that seems to decompress the message data returned from Windows Live via the DeltaSync protocol. The code is AWFUL, but the results are looking pretty good. X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtTQ0w9MA== X-Message-Status: n:0 X-SID-PRA: Daniel Parnell &lt;me@danielparnell.com&gt; X-Message-Info: JGTYoYF78jHVrAq\/T4xfKLLpTvwPwE0t6g\/vyq6tyzbqln5iNnXwcSMg41wQCSulCxd5N8UB57Lq6un\/ug7i0YsGX30yo+pm Received: from randymail-a4.g.dreamhost.com ([208.97.132.207]) by bay0-mc8-f11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.danielparnell.com\/?p=98\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;DeltaSync decompression progress&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[34,3,2,6],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-httpmail-mac-os-x","category-mac-os-x","category-programming","category-web","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p561S3-1A","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":0,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}