Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [0feed85090] - Always do another sync round if any file is received. by drh on 2007-07-23 20:42:40. [view]

To:

File src/xfer.c part of check-in [e621b6dbe3] - Use POST instead of GET for the /xfer method. Other bug fixes in the URL parser. by drh on 2007-07-30 14:28:17. [view]

@@ -361,8 +361,9 @@
         @ error wrong\sproject
         nErr++;
         break;
       }
+      login_check_credentials();
       if( blob_eq(&aToken[0], "pull") ){
         if( !g.okRead ){
           cgi_reset_content();
           @ error not\sauthorized\sto\sread
@@ -386,8 +387,9 @@
     **
     ** The client knows nothing.  Tell all.
     */
     if( blob_eq(&aToken[0], "clone") ){
+      login_check_credentials();
       if( !g.okRead ){
         cgi_reset_content();
         @ error not\sauthorized\sto\sread
         nErr++;