Skip to content
  1. Apr 01, 2013
  2. Mar 29, 2013
  3. Mar 28, 2013
  4. Mar 27, 2013
  5. Mar 25, 2013
  6. Mar 23, 2013
  7. Mar 20, 2013
  8. Mar 19, 2013
  9. Mar 18, 2013
  10. Mar 17, 2013
  11. Mar 16, 2013
  12. Mar 13, 2013
  13. Mar 12, 2013
  14. Mar 11, 2013
    • Jim Jagielski's avatar
      Merge r1442865, r1442759, r1442326, r1442309, r1448171, r1418556, r1448453,... · 5106119e
      Jim Jagielski authored
      Merge r1442865, r1442759, r1442326, r1442309, r1448171, r1418556, r1448453, r1425771, r1425772, r1425775 from trunk:
      
      Change bzero/bcopy into memset/memcpy
      
      PR 54346
      
      Can't figure out why we allocate len+2 bytes here. Len+1 should be enough.
      
      Fix valgrind warning about uninitialized memory in argument to semctl
      
      PR: 53690
      Submitted by: Mikhail T. <mi+apache aldan algebra com>
      
      
      fix valgrind warnings about uninitialized memory in syscall arguments
      
      
      This is useful info for mod_status ;)
      
      Add some __attribute__ for automatic format checking.
      Correct one catch in sed0.c.
      
      Correct some spelling.
      
      
      Replace strdup by ap_malloc to ensure a proper error message if out-of-memory.
      While there, only allocate memory for the string part we actually use.
      
      PR: 54345
      
      
      Exit with error message if out of mem
      
      
      htdbm, htpasswd: print error message if out of memory
      
      PR: 54345
      
      Submitted by: jailletc36, sf, sf, jim, jailletc36, minfrin, sf, sf, sf
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455225 13f79535-47bb-0310-9956-ffa450edef68
      5106119e
    • Eric Covener's avatar
      promote · bf208be9
      Eric Covener authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455224 13f79535-47bb-0310-9956-ffa450edef68
      bf208be9
    • Jim Jagielski's avatar
      Merge r1429559, r1451484 from trunk: · 7814fbac
      Jim Jagielski authored
      According top my testing 'SSL_SESSION_id2sz' is 4x faster with the use 'ap_bin2hex' instead of
      apr_snprintf(..., "%02X" for each character.
      Output is the same.
      
      I have left the uppercase conversion, because I'm unsure if it is usefull or not.
      
      SSL_SESSION_id2sz is only used for logging, having it in lowercase shouldn't be an issue.
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455223 13f79535-47bb-0310-9956-ffa450edef68
      7814fbac
    • Jim Jagielski's avatar
      Merge r1429564 from trunk: · bec4b540
      Jim Jagielski authored
      Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and is faster.
      
      No real speedup should be achieved on production machine, because this is done
      only for characters that need to be escaped. 
      However, this will close PR 50919.
      
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455222 13f79535-47bb-0310-9956-ffa450edef68
      bec4b540
    • Jim Jagielski's avatar
      Merge r1429582 from trunk: · 8231607b
      Jim Jagielski authored
      According to my testing, one special case of 'log_xlate_error', i.e. EES_INCOMPLETE_CHAR,
       is 13x (!!!) faster with the use 'ap_bin2hex' instead of apr_snprintf(..., "%02X" + srlen for each character.
      
      Output is *not* exactly the same. It was uppercase, now it is lowercase.
      It is just for logging, so I don't think it is an issue.
      Should it be, a call to ap_strtoupper can be added.
      
      So sad it is just for logging in case of error... no real speedup to be expected in real life .
      
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455221 13f79535-47bb-0310-9956-ffa450edef68
      8231607b
    • Jim Jagielski's avatar
      Merge r1429561 from trunk: · f3b64b81
      Jim Jagielski authored
      According top my testing 'socache_mc_id2key' is 6x faster with the use 'ap_bin2hex' instead of
      apr_snprintf(..., "%02X" for each character.
      Output is *not* exactly the same. It was uppercase, now it is lowercase.
      
      According to my understanding, this is not an issue.
      Should it be, a call to ap_str_toupper should be added.
      
      The speedup would be less, but still significant.
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455220 13f79535-47bb-0310-9956-ffa450edef68
      f3b64b81
    • Jim Jagielski's avatar
      Merge r1439623 from trunk: · c8385f01
      Jim Jagielski authored
      Fix error because of negative rate-limit
      PR : 52964
      Submitted by: Tianyin Xu <tixu cs ucsd edu>
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455219 13f79535-47bb-0310-9956-ffa450edef68
      c8385f01
    • Jim Jagielski's avatar
      Merge r1364695 from trunk: · cdd5cdaa
      Jim Jagielski authored
      mod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/
      DEFAULT_REL_RUNTIMEDIR for the heartbeat storage file.
      
      Submitted by: trawick
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455218 13f79535-47bb-0310-9956-ffa450edef68
      cdd5cdaa
    • Jim Jagielski's avatar
      ipromote · 001db81c
      Jim Jagielski authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455217 13f79535-47bb-0310-9956-ffa450edef68
      001db81c
    • Jim Jagielski's avatar
      It was a busy weekend · b17ce6d5
      Jim Jagielski authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455216 13f79535-47bb-0310-9956-ffa450edef68
      b17ce6d5
    • Jim Jagielski's avatar
      Merge r1435811 from trunk: · 39fe3eb1
      Jim Jagielski authored
      Add "mod_macro" as a standard module, compiled in with "most".
      
      This module was created in 1998 and has been distributed independently
      ever since. It is hereby donated to the Apache Software Foundation.
      
      There are quite a few comments in the source code to explain how it works,
      as well as extensive non regression tests.
      
      Some utilities about array processing could be moved to "core.c".
      However, I finally decided against for now so that it stays as an external
      and independent module, and thus may be backported with minimal impact
      on the source tree.
      
      Details of the addition:
      
      * modules/core/mod_macro.c: module source code
      * modules/core/test: non regression tests
        modules/core/test/conf/: configuration files
        modules/core/test/ref/: expected results
      * docs/manual/mod/mod_macro.xml: English documentation
      * docs/manual/mod/mod_macro.xml.fr: French documentation
      
      
      Submitted by: fabien
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455215 13f79535-47bb-0310-9956-ffa450edef68
      39fe3eb1