You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/08/19 04:13:27 UTC

DO NOT REPLY [Bug 36269] New: - UNIQUE_ID documented as 19 characters; actually 24.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36269>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36269

           Summary: UNIQUE_ID documented as 19 characters; actually 24.
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_unique_id
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: alex@rent-a-mind.com


Documentation and source comments say that the UNIQUE_ID environment variable is
a 19-character string (112-bit unique_id_rec struct encodes to 19 characters).
This was true with mod_unique_id.c prior to revision 83789 (checked in Aug 26,
1999). With that revision, a 32-bit thread_index was added to struct
unique_id_rec. As a result, the UNIQUE_ID environment variable now has a length
of 24 characters (144 bit unique_id_rec struct encodes to 24 characters).

Note that the 1.3 branch includes a thread identifier only if the preprocessor
variable MULTITHREAD is defined.

The 2.x documentation notes that the 19-character UNIQUE_ID "can be made longer"
to support multithreaded systems, even though this extension is now built into
the base code: UNIQUE_ID will be 24 characters long and include a thread index,
regardless of whether MULTITHREAD is defined.

Files that need to be changed:

modules/metadata/mod_unique_id.c
docs/manual/mod/mod_unique_id.html

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org