Fix a race condition on the CGI script.
* wrap/python/ajax/spot.in: Create all cache files in a temporary directory, and only rename this directory at the end. This way if two processes are processing the same request, they won't attempt to populate the same directory (and only one of the first of two renames will succeed, but that is OK).
This commit is contained in:
parent
547715463a
commit
62914059f7
2 changed files with 37 additions and 10 deletions
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
|||
2012-02-15 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix a race condition on the CGI script.
|
||||
|
||||
* wrap/python/ajax/spot.in: Create all cache files in a temporary
|
||||
directory, and only rename this directory at the end. This way if
|
||||
two processes are processing the same request, they won't attempt
|
||||
to populate the same directory (and only one of the first of two
|
||||
renames will succeed, but that is OK).
|
||||
|
||||
2012-01-24 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix a segfault reported by Etienne Renault using dve2check.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue