Samesite - proxy that can cache partial transfers

Check-in [d1fa9d0737]
anonymous

Check-in [d1fa9d0737]

Overview
Comment:oops, not checking file breaks thins
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: d1fa9d0737d8fb461d39e5cf814419274c757a56b1f5bc2f9c04ad8c884a7aa6
User & Date: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 on 2012-01-16 13:39:37.000
Other Links: branch diff | manifest | tags
Context
2012-01-20
09:42
updated config so that HEAD request would go directly to the backend check-in: 95fc83d16a user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
2012-01-16
13:39
oops, not checking file breaks thins check-in: d1fa9d0737 user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
13:33
added timeout simplified gzip handling stops rechecking partial files check-in: a81f1a70fb user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
Changes
182
183
184
185
186
187
188

189
190
191
192
193
194
195
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196







+







			record = index[my_path]
			if os.access(file_name, os.R_OK):
				info += '\nFull file found.'
				file_stat = os.stat(file_name)
			elif '_parts' in index[my_path] and os.access(temp_name, os.R_OK):
				info += '\nPartial file found.'
				file_stat = os.stat(temp_name)
				recheck = True
			else:
				info += '\nFile not found or inaccessible.'
				record['_parts'] = None
				reload = True

		if not '_parts' in record:
			record['_parts'] = None