1. 29 Apr, 2018 1 commit
  2. 28 Apr, 2018 1 commit
  3. 26 Apr, 2018 4 commits
  4. 21 Apr, 2018 2 commits
  5. 20 Apr, 2018 5 commits
  6. 19 Apr, 2018 5 commits
  7. 18 Apr, 2018 3 commits
  8. 17 Apr, 2018 3 commits
  9. 14 Apr, 2018 4 commits
  10. 12 Apr, 2018 1 commit
  11. 11 Apr, 2018 4 commits
  12. 09 Apr, 2018 7 commits
    • Jim Jagielski's avatar
      Merge r1827865 from trunk: · d270870d
      Jim Jagielski authored
      Use 'ap_log_rerror()' instead of 'ap_log_error()' consistently
      Submitted by: jailletc36
      Reviewed by: jailletc36, jorton, ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828745 13f79535-47bb-0310-9956-ffa450edef68
      d270870d
    • Jim Jagielski's avatar
      Merge r1822931, r1827783 from trunk: · bb630d1a
      Jim Jagielski authored
      * modules/loggers/mod_logio.c (logio_pre_config): Remove pointless
        static in optional fn pointer variable declaration.
      
      * modules/ssl/ssl_engine_vars.c (ssl_var_log_config_register):
        Likewise.
      
      
      Fix a potential compiler warning about uninitialized variable.
      PR 59821
      Submitted by: jorton, jailletc36
      Reviewed by: jailletc36, jorton, ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828744 13f79535-47bb-0310-9956-ffa450edef68
      bb630d1a
    • Jim Jagielski's avatar
      Merge r1818802, r1818825 from trunk: · 5bd21f71
      Jim Jagielski authored
      mod_dumpio: do nothing below log level TRACE7.
      
      For instance, depending on EnableMMAP/Sendfile configuration, don't split
      file brigades to 8K heap buckets upon reading.
      
      
      
      mod_dumpio: follow up to r1818802.
      
      Negate APLOGctrace7(c) test!
      
      Also, return DECLINED when nothing is to be done, same result as OK but
      possibly more semantically correct.
      
      
      Submitted by: ylavic
      Reviewed by: jailletc36, jorton, ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828743 13f79535-47bb-0310-9956-ffa450edef68
      5bd21f71
    • Jim Jagielski's avatar
      Merge r1822931, r1827783 from trunk: · a986919e
      Jim Jagielski authored
      * modules/loggers/mod_logio.c (logio_pre_config): Remove pointless
        static in optional fn pointer variable declaration.
      
      * modules/ssl/ssl_engine_vars.c (ssl_var_log_config_register):
        Likewise.
      
      
      Fix a potential compiler warning about uninitialized variable.
      PR 59821
      Submitted by: jorton, jailletc36
      Reviewed by: jailletc36, jorton, ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828742 13f79535-47bb-0310-9956-ffa450edef68
      a986919e
    • Jim Jagielski's avatar
      Merge r1826973 from trunk: · f514203c
      Jim Jagielski authored
      mod_md: Fix compilation with OpenSSL before version 1.0.2.
      
      Symbol ASN1_TIME_diff is only available for 1.0.2+,
      but luckily alternative code we can use is already
      available, originally written for the LibreSSL case.
      
      Submitted by: rjung
      Reviewed by: rjung, ylavic, jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828741 13f79535-47bb-0310-9956-ffa450edef68
      f514203c
    • Jim Jagielski's avatar
      Merge r1534895, r1534896, r1534914 from trunk: · 1d3d77f0
      Jim Jagielski authored
      rotatelogs: Use apr_psprintf() with %pm instead of a constant length buffer for
      errors.
      
      * support/rotatelogs.c
        (post_rotate, doRotate): Switch to using apr_psprintf() with %pm.
      
      Suggested by: rpluem
      
      
      rotatelogs: Remove another use of a consant length buffer for errors.
      
      * support/rotatelogs.c
        (doRotate): Use apr_psprintf() and %pm.  Move the destruction of the pool
          after we're done with the error message so the error string stays allocated
          long enough.
      
      
      rotatelogs: Remove last constant length error buffer.
      
      * support/rotatelogs.c
        (ERRMSGSZ): Remove.
        (rotate_status): Remove errbuff member.
        (truncate_and_write_error): Accept the error message as an argument.
        (doRotate): Shift the pool destruction slightly later and use it to generate
          the error message to pass truncate_and_write_error().
        (main): In case of write errors create a pool to generate the error message,
          since the other pools available may never been freed.  Adjust to pass
          message directly to truncate_and_write_error().
      
      Submitted by: breser
      Reviewed by: rjung, ylavic, jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828739 13f79535-47bb-0310-9956-ffa450edef68
      1d3d77f0
    • Jim Jagielski's avatar
      Merge r1533810, r1533935, r1666417 from trunk: · 2bcf3961
      Jim Jagielski authored
      Add an option to autocreate directories to rotatelogs.
      
      * support/rotatelogs.c
        (rotate_config): Remove const from szLogRoot since we'll be passing it to
          apr_filepath_merge.  Add create_path member.
        (usage, dumpConfig): Update to reflect new -d option.
        (doRotate): Add code that knows how to create the directories a log file
          is going to go into.
        (main): Add the -d option and canonicalize the incoming path with
          apr_filepath_merge() so that the code in doRotate can work properly.
      
      * docs/man/rotatelogs.8,
        docs/manual/programs/rotatelogs.html.en: Update for -d option.
      
      PR: 46669
      Submitted by: Philippe Lantin <plantin cobaltgroup.com>
                    (which was actually a patch written by myself when I worked there)
      Tweaked by: breser (ported to trunk and changed option from -p to -d)
      
      
      
      Followup to r1533810: Put the rotatelogs docs in the right place.
      
      * docs/man/rotatelogs.8,
        docs/manual/programs/rotatelogs.html.en: Remove changes from r1533810.
      
      * docs/manual/programs/rotatelogs.xml: Adjust docs for new -d option. 
      
      
      Choose "-D" instead of "-d" for the rotatelogs
      option that creates the path to the log file.
      
      I want to use "-d" for another directory related
      option next where (I think) the "directory" "d"
      makes more sense.
      
      "-d" has not yet been backported, so changing
      to "-D" is not a real compatibility issue.
      
      Submitted by: breser, rjung
      Reviewed by: rjung, ylavic, niq
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828738 13f79535-47bb-0310-9956-ffa450edef68
      2bcf3961