From ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/DESIGN.krun | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 kio/DESIGN.krun (limited to 'kio/DESIGN.krun') diff --git a/kio/DESIGN.krun b/kio/DESIGN.krun new file mode 100644 index 000000000..948ef79a3 --- /dev/null +++ b/kio/DESIGN.krun @@ -0,0 +1,35 @@ + +konq_run / krun should determine the mimetype by actually +getting the contents of the URL. It should then put the slave +on hold and tell the job-scheduler which request the +slave is currently handling. (Status: implemented in konq_run) + +Now krun/konq_run should determine which client should process the +result of the request. + +* When the client belongs to the same process, no action needs to be +taken. When a new job is created for the request which is on hold the +existing slave will be re-used and the request resumed. +(Status: implemented) + +* When the client is an external process, the on-hold-slave should be +removed from the job-scheduler and should connect itself with +klauncher. This is hard because it must ensure that the external +program does not request the slave before it has been transfered to +klauncher. (Status: to be done) + +* When a slave is on hold but not used for a certain period of time, +or, when another slave is put on hold, the slave should be killed. +(Status: almost done) + +===== + +The slave must emit "mimetype" during a GET before the first data is send. + +It may wait with sending "mimetype" until it has enough data to +determine the mimetype, but it should not pass any data along before it has +send the mimetype. + +Currently only http _always_ sends a mimetype. + + -- cgit v1.2.1