mod_unique_id.c

Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix spelling errors found by codespell. [skip ci]

  1. … 100 more files in changeset.
* modules/metadata/mod_unique_id.c: Replace use of hostname + pid with

PRNG output.

Submitted by: Jan Kaluza <jkaluza redhat.com>

Reviewed by: sf, jorton

  1. … 1 more file in changeset.
Add lots of unique tags to error log messages

  1. … 172 more files in changeset.
Remove more log message prefixes that are now redundant as the

the error log format includes the module name.

  1. … 9 more files in changeset.
initialize counter with random number

PR: 45110

  1. … 1 more file in changeset.
fix some dead assignments found by the clang analyzer

  1. … 11 more files in changeset.
Add generate_log_id hook to allow to use the ID generated by mod_unique_id as

error log ID for requests.

  1. … 7 more files in changeset.
Update docs and comment: the unique id is now 24 characters, not 19

Submitted by: Takashi Sato <takashi lans-tv com>, Stefan Fritsch

PR: 36269

  1. … 1 more file in changeset.
Add comment that using cur_unique_id.counter from all threads is bad for

performance on SMP systems.

Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take

advantage of per-module loglevels

  1. … 169 more files in changeset.
* Convert request time to seconds before before storing it in unique_id_rec

struct.

PR: 37064

Submitted by: Kobayashi <kobayashi firstserver.co.jp>

Reviewed by: rpluem

  1. … 1 more file in changeset.
update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
No functional Change: Removing trailing whitespace. This also

means that "blank" lines consisting of just spaces or

tabs are now really blank lines

  1. … 180 more files in changeset.
No functional change: simple detabbing of indented code.

  1. … 72 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.
fix name of The Apache Software Foundation

  1. … 361 more files in changeset.
fix copyright dates according to the first check in

  1. … 25 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
Eat our own dogfood when it comes to the time macros.

Fixed good. The modulos op should give us just that extra little bit we

need to be sure we sleep for a good long fraction of the second into the

next second.

Sleep INTO the next second, not for the entire next second.

Observed by Sander Striker

Remove a time lookup that's now unnecessary

The macros remove how much legibility?

Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

  1. … 3 more files in changeset.
Renames:

APR_XtOffset -> APR_OFFSET

APR_XtOffsetOf -> APR_OFFSETOF

  1. … 8 more files in changeset.
stop using APLOG_NOERRNO in calls to ap_log_[pr]error()

  1. … 33 more files in changeset.