Changeset 20895 in project


Ignore:
Timestamp:
10/20/10 01:55:23 (11 years ago)
Author:
Mario Domenech Goulart
Message:

http-session: fixed bug in session-id-generator' for long duration processes. The value current-milliseconds' overflows the exact numbers limit for long lived process, so `inexact->exact' fails. Version bumped to 2.4.

Location:
release/4/http-session/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/http-session/trunk/http-session.scm

    r20705 r20895  
    7070    (make-parameter
    7171     (lambda ()
    72        (sha1-digest (conc (current-milliseconds)
    73                           (current-process-id)
    74                           (random (+ 1000 (inexact->exact
    75                                            (current-milliseconds)))))))))
     72       (sha1-digest
     73        (conc (current-milliseconds)
     74              (current-process-id)
     75              (random (+ 1000 (current-process-id))))))))
    7676
    7777  (define (unique-id)
  • release/4/http-session/trunk/http-session.setup

    r20706 r20895  
    66(install-extension 'http-session
    77                   '("http-session.so" "http-session.import.so")
    8                    '((version "2.3")))
     8                   '((version "2.4")))
    99
Note: See TracChangeset for help on using the changeset viewer.