Menu

#15 Survive IPCop Patch

Next_Major_Release
open
7
2004-12-29
2004-12-29
Duncan Reed
No

Feature so that addon server can recover from an ipcop
patch being applied and blitzing the config files that
addon server has modified.

Also need to provide these facilities for MODS so that
they can also recover from ipcop patches.

Discussion

  • Duncan Reed

    Duncan Reed - 2004-12-29

    Logged In: YES
    user_id=790224

    Working in a rudimentary fashion for addon server. Need to
    tidy this up and get working for MODS as well.

     
  • John Edwards

    John Edwards - 2005-01-15

    Logged In: YES
    user_id=820135

    I'm working on something that may be relavent to this issue.

    I've been asked to split the header.pl file into two
    sections, one for CGI functions and the other for general
    functions.

    The reason for this is the to continuing problems of delays
    on older machines which have to read in a lot of CGI only
    functions in header.pl when we only want to run a simple
    Perl script (eg ip-up).

    On a Pentium 75Mhz with 64MB this results in huge reduction
    in the time need to process the functions file from 3.5s to
    0.3s.

    The patch and resultant discussion can be found here:
    http://sourceforge.net/tracker/index.php?func=detail&aid=1058146&group_id=40604&atid=428516

    The patch has not been accepted, or earmarked for any
    particular release, and anyway needs to be altered to take
    account of recent changes in a particular CVS branch.

    There are two potential problems for an addon system:
    1) The file that contains the version number and non-CGI
    functions will be changed.
    2) There is also a possibility that location of the CGI file
    may be changed.

    As the version number appears to only be read once by your
    code, and the "addto_header" function looks to be quite
    flexible, I would hope that this change would not cause you
    many problems.

    If I am wrong about this you have anything that you feel is
    important then feel free to either email me or tag on a
    message to the Sourceforge page.

     
  • Duncan Reed

    Duncan Reed - 2005-01-17

    Logged In: YES
    user_id=790224

    Thanks, I'll have a look at the patch to see the
    implications. Although the links provided seems to take me
    to a discussion about video cards.

     
  • Andy vdG

    Andy vdG - 2005-03-18

    Logged In: YES
    user_id=1133275

    This would be great... would have saved me from the
    headache I have now... Addon Server died after update to
    1.4.4.

     
  • Duncan Reed

    Duncan Reed - 2005-03-18

    Logged In: YES
    user_id=790224

    Could never have survived the 1.4.4 patch as it was a
    funamental structure change by splitting the header.pl file up.

    Partly to solve this very problem.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.