From 411a26999141fc96289d43ec3cd7eea041a8bdf5 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Mon, 16 Sep 2013 22:45:19 +0100
Subject: [PATCH] valenok -> cesanta

---
 README.md          | 18 +++++++++---------
 docs/UserManual.md | 19 +++++++++----------
 mongoose.h         |  4 ++--
 3 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/README.md b/README.md
index 51a4d8cc0..84fd1c79f 100644
--- a/README.md
+++ b/README.md
@@ -14,23 +14,23 @@ simplicity by carefully selected list of features:
 
 - Works on Windows, Mac, UNIX, iPhone, Android, and many other platforms
 - Scripting and database support (Lua Server Pages + Sqlite, see
-  [page.lp](https://github.com/valenok/mongoose/blob/master/test/page.lp) ),
+  [page.lp](https://github.com/cesanta/mongoose/blob/master/test/page.lp) ),
   which provides ready to go, powerful web development platform in
   one single-click executable with **no dependencies**: forget LAMP!
 - Support for CGI, SSL, SSI, Digest (MD5) authorization, Websocket, WEbDAV
 - Resumed download, URL rewrite, file blacklist, IP-based ACL, Windows service
 - Download speed limit based on client subnet or URI pattern
 - Simple and clean embedding API,
-  [mongoose.h](https://github.com/valenok/mongoose/blob/master/mongoose.h).
+  [mongoose.h](https://github.com/cesanta/mongoose/blob/master/mongoose.h).
   The source is in single
-  [mongoose.c](https://github.com/valenok/mongoose/blob/master/mongoose.c) file
+  [mongoose.c](https://github.com/cesanta/mongoose/blob/master/mongoose.c) file
   to make things easy. Embedding examples:
-  [hello.c](https://github.com/valenok/mongoose/blob/master/examples/hello.c),
-  [post.c](https://github.com/valenok/mongoose/blob/master/examples/post.c),
-  [upload.c](https://github.com/valenok/mongoose/blob/master/examples/upload.c),
-  [websocket.c](https://github.com/valenok/mongoose/blob/master/examples/websocket.c)
+  [hello.c](https://github.com/cesanta/mongoose/blob/master/examples/hello.c),
+  [post.c](https://github.com/cesanta/mongoose/blob/master/examples/post.c),
+  [upload.c](https://github.com/cesanta/mongoose/blob/master/examples/upload.c),
+  [websocket.c](https://github.com/cesanta/mongoose/blob/master/examples/websocket.c)
 - HTTP client capable of sending arbitrary HTTP/HTTPS requests
-- [User Manual](https://github.com/valenok/mongoose/blob/master/docs/UserManual.md)
+- [User Manual](https://github.com/cesanta/mongoose/blob/master/docs/UserManual.md)
 
 Note that Windows and MacOS binaries have following 3rd party software
 compiled in:
@@ -42,7 +42,7 @@ Questions can be asked at
 [mongoose-users@googlegroups.com](http://groups.google.com/group/mongoose-users)
 mailing list.
 
-[![&nbsp;](https://cruel-carlota.pagodabox.com/2a613890c1f4b60e5919a9c1dd3caca2 "githalytics.com")](http://githalytics.com/valenok/mongoose)
+[![&nbsp;](https://cruel-carlota.pagodabox.com/2a613890c1f4b60e5919a9c1dd3caca2 "githalytics.com")](http://githalytics.com/cesanta/mongoose)
 
 # Acknowledgements
 
diff --git a/docs/UserManual.md b/docs/UserManual.md
index cac1766a8..385f88a53 100644
--- a/docs/UserManual.md
+++ b/docs/UserManual.md
@@ -258,7 +258,7 @@ directory is commonly referenced as dot (`.`).
 Path to SSL certificate file. This option is only required when at least one
 of the `listening_ports` is SSL. The file must be in PEM format,
 and it must have both private key and certificate, see for example
-[ssl_cert.pem](https://github.com/valenok/mongoose/blob/master/build/ssl_cert.pem)
+[ssl_cert.pem](https://github.com/cesanta/mongoose/blob/master/build/ssl_cert.pem)
 
 ### num_threads `50`
 Number of worker threads. Mongoose handles each incoming connection in a
@@ -332,10 +332,10 @@ are accessible from the Lua code (please check reference manual for details),
 and also information about the request is available in `mg.request_info` object,
 like request method, all headers, etcetera. Please refer to
 `struct mg_request_info` definition in
-[mongoose.h](https://github.com/valenok/mongoose/blob/master/mongoose.h)
+[mongoose.h](https://github.com/cesanta/mongoose/blob/master/mongoose.h)
 to see what kind of information is present in `mg.request_info` object. Also,
-[page.lp](https://github.com/valenok/mongoose/blob/master/test/page.lp) and
-[prime_numbers.lp](https://github.com/valenok/mongoose/blob/master/examples/lua/prime_numbers.lp)
+[page.lp](https://github.com/cesanta/mongoose/blob/master/test/page.lp) and
+[prime_numbers.lp](https://github.com/cesanta/mongoose/blob/master/examples/lua/prime_numbers.lp)
 contains some example code that uses `request_info` and other functions(form submitting for example).
 
 Mongoose exports the following to the Lua server page:
@@ -398,8 +398,8 @@ variable is visible in the block that follows.
 
 # Embedding
 Embedding Mongoose is easy. Copy
-[mongoose.c](https://github.com/valenok/mongoose/blob/master/mongoose.c) and
-[mongoose.h](https://github.com/valenok/mongoose/blob/master/mongoose.h)
+[mongoose.c](https://github.com/cesanta/mongoose/blob/master/mongoose.c) and
+[mongoose.h](https://github.com/cesanta/mongoose/blob/master/mongoose.h)
 to your application's source tree and include them in the build. For
 example, your application's code lives in C file `my_app.c`, then on UNIX
 this command embeds Mongoose:
@@ -424,8 +424,7 @@ To start the embedded web server, call `mg_start()`. To stop it, call
 `mg_stop()`.
 
     // This structure needs to be passed to mg_start(), to let mongoose know
-    // which callbacks to invoke. For detailed description, see
-    // https://github.com/valenok/mongoose/blob/master/UserManual.md
+    // which callbacks to invoke.
     struct mg_callbacks {
       int  (*begin_request)(struct mg_connection *);
       void (*end_request)(const struct mg_connection *, int reply_status_code);
@@ -441,7 +440,7 @@ To start the embedded web server, call `mg_start()`. To stop it, call
       int  (*http_error)(struct mg_connection *, int status);
     };
 
-[hello.c](https://github.com/valenok/mongoose/blob/master/examples/hello.c)
+[hello.c](https://github.com/cesanta/mongoose/blob/master/examples/hello.c)
 provides a minimalistic example.
 
 Common pattern is to implement `begin_request` callback, and serve static files
@@ -502,7 +501,7 @@ limit on number of simultaneous requests that can be handled by mongoose.
 
 When master thread accepts new connection, a new accepted socket (described by
 `struct socket`) it placed into the accepted sockets queue,
-which has size of 20 (see [code](https://github.com/valenok/mongoose/blob/3892e0199e6ca9613b160535d9d107ede09daa43/mongoose.c#L486)). Any idle worker thread
+which has size of 20 (see [code](https://github.com/cesanta/mongoose/blob/3892e0199e6ca9613b160535d9d107ede09daa43/mongoose.c#L486)). Any idle worker thread
 can grab accepted sockets from that queue. If all worker threads are busy,
 master thread can accept and queue up to 20 more TCP connections,
 filling up the queue.
diff --git a/mongoose.h b/mongoose.h
index 6b7e758e8..6a57bbcfe 100644
--- a/mongoose.h
+++ b/mongoose.h
@@ -52,7 +52,7 @@ struct mg_request_info {
 
 // This structure needs to be passed to mg_start(), to let mongoose know
 // which callbacks to invoke. For detailed description, see
-// https://github.com/valenok/mongoose/blob/master/UserManual.md
+// https://github.com/cesanta/mongoose/blob/master/docs/UserManual.md
 struct mg_callbacks {
   // Called when mongoose has received new HTTP request.
   // If callback returns non-zero,
@@ -157,7 +157,7 @@ struct mg_callbacks {
 //   };
 //   struct mg_context *ctx = mg_start(&my_func, NULL, options);
 //
-// Refer to https://github.com/valenok/mongoose/blob/master/UserManual.md
+// Refer to https://github.com/cesanta/mongoose/blob/master/docs/UserManual.md
 // for the list of valid option and their possible values.
 //
 // Return:
-- 
GitLab