Skip to content
  1. Apr 08, 2013
  2. Apr 01, 2013
  3. Mar 29, 2013
  4. Mar 28, 2013
  5. Mar 27, 2013
  6. Mar 25, 2013
  7. Mar 23, 2013
  8. Mar 20, 2013
  9. Mar 19, 2013
  10. Mar 18, 2013
  11. Mar 17, 2013
  12. Mar 16, 2013
  13. Mar 13, 2013
  14. Mar 12, 2013
  15. 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