Ok will sending back a multipart document (thru a server push) does work but the only way (I know of) to do that while still allowing something else to do something is
alarm because the Perl 5.6.1 that I have does not have threads. I can not use
alarm because some of the SOAP cgis I call use SOAP... Spawning a process from the mod_perl SOAP handler is not a good idea because not only does it slow me down but killing it off effectively is troublesome. And if the process is not killed off it becomes a hang-up situation for Apache.
**sigh**
I am really not quite sure of what to do.
Thank you for the comment and link, perrin. But unfortunately launching the process and then periodically checking back is not really an option for me because I never know how long the user code might run. And enforcing a standard time for every function call is a Bad Thing(tm).
The server push with a multipart document is what I need and it does work. I just have to make it work without
alarm.
--habit
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.