diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chapters/basicauthentication.inc | 2 | ||||
-rw-r--r-- | doc/chapters/hellobrowser.inc | 10 | ||||
-rw-r--r-- | doc/chapters/largerpost.inc | 3 | ||||
-rw-r--r-- | doc/examples/basicauthentication.c | 4 | ||||
-rw-r--r-- | doc/examples/hellobrowser.c | 4 | ||||
-rw-r--r-- | doc/examples/largepost.c | 3 | ||||
-rw-r--r-- | doc/examples/logging.c | 4 | ||||
-rw-r--r-- | doc/examples/responseheaders.c | 4 | ||||
-rw-r--r-- | doc/examples/simplepost.c | 4 | ||||
-rw-r--r-- | doc/tutorial.texi | 2 |
10 files changed, 12 insertions, 28 deletions
diff --git a/doc/chapters/basicauthentication.inc b/doc/chapters/basicauthentication.inc index 8e7f4c60..6b7dcdc6 100644 --- a/doc/chapters/basicauthentication.inc +++ b/doc/chapters/basicauthentication.inc | |||
@@ -12,7 +12,7 @@ GET /picture.png?mypassword | |||
12 | @end verbatim | 12 | @end verbatim |
13 | @noindent | 13 | @noindent |
14 | 14 | ||
15 | In a situation, where the client is customized enough and the connection occurs | 15 | In a situation where the client is customized enough and the connection occurs |
16 | through secured lines (e.g., a embedded device directly attached to another via wire), | 16 | through secured lines (e.g., a embedded device directly attached to another via wire), |
17 | this can be a reasonable choice. | 17 | this can be a reasonable choice. |
18 | 18 | ||
diff --git a/doc/chapters/hellobrowser.inc b/doc/chapters/hellobrowser.inc index 0513a674..611463e2 100644 --- a/doc/chapters/hellobrowser.inc +++ b/doc/chapters/hellobrowser.inc | |||
@@ -9,15 +9,15 @@ The C program @code{hellobrowser.c}, which is to be found in the examples sectio | |||
9 | If you are very eager, you can compile and start it right away but it is advisable to type the | 9 | If you are very eager, you can compile and start it right away but it is advisable to type the |
10 | lines in by yourself as they will be discussed and explained in detail. | 10 | lines in by yourself as they will be discussed and explained in detail. |
11 | 11 | ||
12 | After the unexciting includes and the definition of the port which our server should listen on | 12 | After the necessary includes and the definition of the port which our server should listen on |
13 | @verbatim | 13 | @verbatim |
14 | #include <platform.h> | ||
14 | #include <microhttpd.h> | 15 | #include <microhttpd.h> |
15 | #include <string.h> | 16 | |
16 | #include <stdlib.h> | 17 | #define PORT 8888 |
17 | #include <stdio.h> | ||
18 | @end verbatim | 18 | @end verbatim |
19 | @noindent | 19 | @noindent |
20 | the desired behaviour of our server when HTTP request arrive have to be implemented. We already have | 20 | the desired behaviour of our server when HTTP request arrive has to be implemented. We already have |
21 | agreed that it should not care about the particular details of the request, such as who is requesting | 21 | agreed that it should not care about the particular details of the request, such as who is requesting |
22 | what. The server will respond merely with the same small HTML page to every request. | 22 | what. The server will respond merely with the same small HTML page to every request. |
23 | 23 | ||
diff --git a/doc/chapters/largerpost.inc b/doc/chapters/largerpost.inc index 07e62470..d05dd46d 100644 --- a/doc/chapters/largerpost.inc +++ b/doc/chapters/largerpost.inc | |||
@@ -1,6 +1,3 @@ | |||
1 | --- NOTE: This does not work flawlessly with the beta release because there is | ||
2 | a bug preventing early busy messages from being sent --- | ||
3 | |||
4 | The previous chapter introduced a way to upload data to the server, but the developed example program | 1 | The previous chapter introduced a way to upload data to the server, but the developed example program |
5 | has some shortcomings, such as not being able to handle larger chunks of data. In this chapter, we | 2 | has some shortcomings, such as not being able to handle larger chunks of data. In this chapter, we |
6 | are going to discuss a more advanced server program that allows clients to upload a file in order to | 3 | are going to discuss a more advanced server program that allows clients to upload a file in order to |
diff --git a/doc/examples/basicauthentication.c b/doc/examples/basicauthentication.c index b3af2e97..f8c80a35 100644 --- a/doc/examples/basicauthentication.c +++ b/doc/examples/basicauthentication.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <platform.h> | ||
1 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
2 | #include <string.h> | ||
3 | #include <stdio.h> | ||
4 | #include <stdlib.h> | ||
5 | #include <time.h> | 3 | #include <time.h> |
6 | 4 | ||
7 | #define PORT 8888 | 5 | #define PORT 8888 |
diff --git a/doc/examples/hellobrowser.c b/doc/examples/hellobrowser.c index 02ac8ef1..63b8d310 100644 --- a/doc/examples/hellobrowser.c +++ b/doc/examples/hellobrowser.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <platform.h> | ||
1 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
2 | #include <string.h> | ||
3 | #include <stdlib.h> | ||
4 | #include <stdio.h> | ||
5 | 3 | ||
6 | #define PORT 8888 | 4 | #define PORT 8888 |
7 | 5 | ||
diff --git a/doc/examples/largepost.c b/doc/examples/largepost.c index d5dc591f..7a9c1ef1 100644 --- a/doc/examples/largepost.c +++ b/doc/examples/largepost.c | |||
@@ -1,8 +1,5 @@ | |||
1 | #include <platform.h> | 1 | #include <platform.h> |
2 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
3 | #include <string.h> | ||
4 | #include <stdlib.h> | ||
5 | #include <stdio.h> | ||
6 | 3 | ||
7 | #define PORT 8888 | 4 | #define PORT 8888 |
8 | #define POSTBUFFERSIZE 512 | 5 | #define POSTBUFFERSIZE 512 |
diff --git a/doc/examples/logging.c b/doc/examples/logging.c index d1dd4f1f..2daaa4d0 100644 --- a/doc/examples/logging.c +++ b/doc/examples/logging.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <platform.h> | ||
1 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
2 | #include <string.h> | ||
3 | #include <stdlib.h> | ||
4 | #include <stdio.h> | ||
5 | 3 | ||
6 | #define PORT 8888 | 4 | #define PORT 8888 |
7 | 5 | ||
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index 31c3900d..a94e4433 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <platform.h> | ||
1 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
2 | #include <string.h> | ||
3 | #include <stdio.h> | ||
4 | #include <stdlib.h> | ||
5 | #include <time.h> | 3 | #include <time.h> |
6 | 4 | ||
7 | #define PORT 8888 | 5 | #define PORT 8888 |
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c index 6a1322db..d8172b87 100644 --- a/doc/examples/simplepost.c +++ b/doc/examples/simplepost.c | |||
@@ -1,7 +1,5 @@ | |||
1 | #include <platform.h> | ||
1 | #include <microhttpd.h> | 2 | #include <microhttpd.h> |
2 | #include <string.h> | ||
3 | #include <stdlib.h> | ||
4 | #include <stdio.h> | ||
5 | 3 | ||
6 | #define PORT 8888 | 4 | #define PORT 8888 |
7 | #define POSTBUFFERSIZE 512 | 5 | #define POSTBUFFERSIZE 512 |
diff --git a/doc/tutorial.texi b/doc/tutorial.texi index 7b9b877e..b530eab6 100644 --- a/doc/tutorial.texi +++ b/doc/tutorial.texi | |||
@@ -4,7 +4,7 @@ | |||
4 | @settitle A tutorial for GNU libmicrohttpd | 4 | @settitle A tutorial for GNU libmicrohttpd |
5 | @afourpaper | 5 | @afourpaper |
6 | 6 | ||
7 | @set VERSION 0.3.1 beta | 7 | @set VERSION 0.4.0 prerelease0 |
8 | 8 | ||
9 | @titlepage | 9 | @titlepage |
10 | @title A Tutorial for GNU libmicrohttpd | 10 | @title A Tutorial for GNU libmicrohttpd |