Warning, /frameworks/kio/docs/krun-passing-slaves.txt is written in an unsupported language. File is not indexed.
0001 konq_run / krun should determine the mimetype by actually 0002 getting the contents of the URL. It should then put the slave 0003 on hold and tell the job-scheduler which request the 0004 slave is currently handling. 0005 0006 Now krun/konq_run should determine which client should process the 0007 result of the request. 0008 0009 * When the client belongs to the same process, no action needs to be 0010 taken. When a new job is created for the request which is on hold the 0011 existing slave will be re-used and the request resumed. 0012 0013 * When the client is an external process, the on-hold-slave should be 0014 removed from the job-scheduler and should connect itself with 0015 klauncher. This is hard because it must ensure that the external 0016 program does not request the slave before it has been transferred to 0017 klauncher. 0018 0019 * When a slave is on hold but not used for a certain period of time, 0020 or, when another slave is put on hold, the slave should be killed. 0021 0022 ===== 0023 0024 The slave must emit "mimetype" during a GET before the first data is send. 0025 0026 It may wait with sending "mimetype" until it has enough data to 0027 determine the MIME type, but it should not pass any data along before it has 0028 sent "mimetype".