summaryrefslogtreecommitdiffstats
path: root/tdeio/DESIGN.krun
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-03-02 15:57:34 -0600
committerDarrell Anderson <[email protected]>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdeio/DESIGN.krun
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdeio/DESIGN.krun')
-rw-r--r--tdeio/DESIGN.krun35
1 files changed, 35 insertions, 0 deletions
diff --git a/tdeio/DESIGN.krun b/tdeio/DESIGN.krun
new file mode 100644
index 000000000..9ac31f433
--- /dev/null
+++ b/tdeio/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
+tdelauncher. This is hard because it must ensure that the external
+program does not request the slave before it has been transfered to
+tdelauncher. (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.
+
+