From 0a2895e17ac962fe9a06f941e8164a2327c29b46 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Wed, 14 Jan 2009 13:53:48 -0700
Subject: [PATCH] docs: rename wapi.txt to webapi.txt Because Brian argues that
 the file contains a description of the wui as well as of the wapi, and
 because the name "webapi.txt" might be more obvious to the untrained eye.

---
 NEWS                                    | 2 +-
 docs/configuration.txt                  | 2 +-
 docs/frontends/{wapi.txt => webapi.txt} | 2 +-
 docs/using.html                         | 2 +-
 src/allmydata/web/operations.py         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
 rename docs/frontends/{wapi.txt => webapi.txt} (99%)

diff --git a/NEWS b/NEWS
index b741648c..8a7715c0 100644
--- a/NEWS
+++ b/NEWS
@@ -46,7 +46,7 @@ and deep-check operations. When these operations finish, they display a
 results page that summarizes any problems that were encountered. All
 long-running deep-traversal operations, including deep-check, use a
 start-and-poll mechanism, to avoid depending upon a single long-lived HTTP
-connection. docs/frontends/wapi.txt has details.
+connection. docs/frontends/webapi.txt has details.
 
 ** Configuration Changes: single INI-format tahoe.cfg file
 
diff --git a/docs/configuration.txt b/docs/configuration.txt
index 0c345af7..bb53bee8 100644
--- a/docs/configuration.txt
+++ b/docs/configuration.txt
@@ -49,7 +49,7 @@ nickname = (UTF-8 string, optional)
 web.port = (strports string, optional)
 
  This controls where the node's webserver should listen, providing filesystem
- access and node status as defined in wapi.txt . This file contains a
+ access and node status as defined in webapi.txt . This file contains a
  Twisted "strports" specification such as "3456" or
  "tcp:3456:interface=127.0.0.1". The 'tahoe create-client' command sets the
  web.port to "tcp:3456:interface=127.0.0.1" by default, and is overridable by
diff --git a/docs/frontends/wapi.txt b/docs/frontends/webapi.txt
similarity index 99%
rename from docs/frontends/wapi.txt
rename to docs/frontends/webapi.txt
index 1ceca14d..330ebfdc 100644
--- a/docs/frontends/wapi.txt
+++ b/docs/frontends/webapi.txt
@@ -151,7 +151,7 @@ that file with:
 
 Multiple levels of subdirectories can be handled this way:
 
- http://127.0.0.1:3456/uri/$DIRCAP/tahoe-source/docs/wapi.txt
+ http://127.0.0.1:3456/uri/$DIRCAP/tahoe-source/docs/webapi.txt
 
 In this document, when we need to refer to a URL that references a file using
 this child-of-some-directory format, we'll use the following string:
diff --git a/docs/using.html b/docs/using.html
index 0e748d74..5a024c89 100644
--- a/docs/using.html
+++ b/docs/using.html
@@ -48,7 +48,7 @@
 
     <h1>The WAPI</h1>
 
-    <p>Want to program your Tahoe node to do your bidding?  Easy!  See <a href="frontends/wapi.txt">wapi.txt</a>.</p>
+    <p>Want to program your Tahoe node to do your bidding?  Easy!  See <a href="frontends/webapi.txt">webapi.txt</a>.</p>
 
     <p>P.S.  "WAPI" is pronounced "wappy".</p>
 
diff --git a/src/allmydata/web/operations.py b/src/allmydata/web/operations.py
index 2466ecda..31ff4467 100644
--- a/src/allmydata/web/operations.py
+++ b/src/allmydata/web/operations.py
@@ -109,7 +109,7 @@ class OphandleTable(rend.Page, service.Service):
         if ophandle in self.timers and self.timers[ophandle].active():
             self.timers[ophandle].cancel()
         self.timers.pop(ophandle, None)
-        self.handles.pop(ophandle, None)
+        # self.handles.pop(ophandle, None)
 
 class ReloadMixin:
     REFRESH_TIME = 1*MINUTE
-- 
2.45.2