> For the complete documentation index, see [llms.txt](https://simian114.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simian114.gitbook.io/blog/undefined-1/diary/2021/january/20210115.md).

# 20210115(금)

## 2021-01-15

### 1. 학습 날짜

* 2020-01-15

### 2. 학습 시간

* 10:30 \~ 26:00

### 3. 학습 범위 및 주제

* 웹서버 진짜 마무리

### 4. 학습 목표

* 웹서버를 마무리짓는다.

### 5. 학습 정리

* <https://github.com/get-Pork-Belly/Webserv>

### 6. 상세 학습 내용

**Webserv**

* 평가항목에 맞춰 마무리 지었다.
* 먼저 default error page를 만들었다.
  * 이전에는 error 페이지를 읽고 쓰는게 아닌 만들어서 사용하는 거였기 때문에 까다로운 select 시퀀스의 문제에서 벗어날 수 있었다. 하지마 프로젝트가 원하는건 그게 아니라 기본페이지가 있는것이었기에 수정이 불가피했다.
  * 그렇다고 처음부터 시퀀스를 지킬수있게 만들기는 어려우므로... 편법으로 서버가 처음 시작할때 에러페이지를 읽고 문자열로 저장하게 만들었다.
  * 이렇게 저장된 문자열을 나중에 출력하게 하는 것.

### 7. 오늘 학습 내용에 대한 개인적인 총평

* 죽겠다.. 머리가 너무 아프다 웹서버는 정말...

### 8. 다음 학습 계획

* 액션 케이블


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://simian114.gitbook.io/blog/undefined-1/diary/2021/january/20210115.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
