mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rojas" <>
Subject Re: Review Request 30032: Added support for cache control in libprocess when dealing with static files.
Date Mon, 08 Jun 2015 15:14:23 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 8, 2015, 5:14 p.m.)

Review request for mesos, Benjamin Hindman, Bernd Mathiske, Joerg Schad, Michael Park, and
Till Toenshoff.



Bugs: mesos-708

Repository: mesos


When serving a static file, libprocess returns the header `Last-Modified` which is used by
browsers to control Cache.
When a http request arrives containing the header `If-Modified-Since`, a response `304 Not
Modified` is returned if the date in the request and the modification time (as returned by
doing `stat` in the file) coincide.
Unit tests added.

Diffs (updated)

  3rdparty/libprocess/include/process/http.hpp 51a00f5cf6a84413c8ab73a4e62e1814e9af2339 
  3rdparty/libprocess/src/process.cpp aadd7bb0ae12b93336900c76d8d5aaa4421ea198 
  3rdparty/libprocess/src/tests/process_tests.cpp 0832c6266cea0fb6bdbd523921c1367959419af8



make check


Alexander Rojas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message