aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_clock.erl
AgeCommit message (Collapse)Author
2011-05-25Refresh the type specifications.Loïc Hoguin
Following discussions on #erlounge. Also fixes compilation in R14B03 and fixes a few underspecs dialyzer warnings.
2011-05-14Only try to update the Date field once every seconds.Loïc Hoguin
2011-05-14Add the required Date header in the HTTP replies.Loïc Hoguin
The formatted date is generated and kept up to date regularly by a gen_server process storing it in the cowboy_clock ets table. Then it is retrieved by other processes simply by reading the table.